D john
Joined
Activity
Following Problems I had with Trix editor in Rails 7.0.8, were resolved in Rails 7.2+
- content & toolbar icons not displayed, as fixed in Chris' tutorial
- ActiveStorage upload from Trix Editor field to AmazonS3 (not working in Rails 7.0.8)
I have no idea why Pagy 9.3 does not render the widget properly on rails 7.0.8.6
Followed the instructions on pagy github repo for tailwind
The only way to get it to work is to downgrade pagy to "6.5"
Also if you are using HAML, it requires to use .html_safe
to render the minimal widget on the page
&= pagy_nav(@pagy).html_safe if @pagy
Can anyone tell me if using Cloudinary can be used as a better alternative to Amazon S3 for file uploads ?
Especially since Cloudinary seems to have Digital Assets Management commands that will work from Rails Apps ?
User.where(email: "me@mail.com").first_or_initialize seems to throw an error, - No such method in Active Record.
But
User.first_or_initialize_by(email: "me@mail.com") seems to work :)