Aaron Namba
Aaron Namba
I'm not sure this is something that can be generalized and implemented at the framework level. But the docs could add some implementation suggestions or the generator could create a...
Simple workaround for now: copy the contents of https://github.com/rails/rails/blob/7-0-stable/actiontext/app/javascript/actiontext/index.js to your application.js file: ``` // import "@rails/actiontext"; import { AttachmentUpload } from "@rails/actiontext/app/javascript/actiontext/attachment_upload" addEventListener("trix-attachment-add", event => { const { attachment,...
Added pull request #1498 with just a failing test (sorry).
By the way, it does not appear to be a consistency issue. 3 hours later: 1.9.3p194 :009 > u = User.where(:username => 'aaron').consistent.first ; u.first_name => "Aa" 1.9.3p194 :010 >...
I don't think consistency is the issue. It does seem related to partitioning, like it is returning one of the older versions instead of the latest. Here's the User model...
So that means in my authenticate method, the reload is not actually a workaround, but the only proper way to do things? Seems odd. Is there a good way to...
I have tried to make email address and/or username 100% unique in the past, but each time I've encountered situations that require me to relax that restriction, so I can't...
This confused me for quite a while until I finally realized what was happening. I tried reversing the order of the statements (pop, then show flushbar), which seemed like it...
I guess this option is only needed because a missing repository completely prevents the app from starting. If the repository check could be done lazily (the first time the gollum-enabled...
Speaking of configuration, I had another thought as well. Since the repository path is global, that means there can be only one repository, right? It seems like it would make...