Error Handling Ergonomics in Noticed Discussion
Testing Times & Dates with Rails Discussion
Sharing Cookies with Subdomains in Rails Discussion
My rails app works on subdomains like mother.lvh.com friend.lvh.com brother.lvh.com Each of these subdomains are considered as separate groups which has their own users. Users from one subdomain ...
sufiyan7 repliedSetup Ubuntu 22.04 Jammy Jellyfish Discussion
Devise Masquerade as another User Discussion
Awesome tutorial! Personally I found this plugin to be a much simpler alternative when adding this feature a few months ago, but both are very good nonetheless: https://github.com/ankane/p...
Dan Frenette repliedDebugging: How to Interpret a Stacktrace Discussion
This was great! Loved the step by step debugging, learned about blame in github which is super valuable. Thanks!
Brandon Elfring repliedPowershell Script Works Correctly in Alteryx Designer but not on Alteryx Gallery
I asked this over on the Alteryx forums and unfortunately didn't get any answer. Hopefully someone here with Alteryx/PS experience will know the issue. I have a workflow that runs a batch file with...
pavanznmd postedTransforming JSON responses to Ruby objects with OpenStruct Discussion
Hey Chris, have you considered simplifying this by using ``` JSON.parse('{"color": {"name": "red"}}', object_class: OpenStruct) ``` It seems to do what you are after :-)
Jens Dahl Møllerhøj repliedHow To Update ActionText Attachments Discussion
https://github.com/hotwired/turbo-rails/issues/340 This issue comes with upgrading turbo-rails gem to 1.1.1. Simply downgrading to 1.1.0 will resolve the broken embeds issue. It seems if you use...
Adam Stockland repliedWould you like to use Rails to improve someone's mental health?
Custom Turbo Confirm Modals with Hotwire in Rails Discussion
Can anyone provide any tips on how to make it so the rails-turbo gem uses the edge version of the @hotwired/turbo NPM dependency? They haven't released a new version of turbo for about 9 months and...
JP Silvashy repliedRails for Beginners Part 10: Setting up a Git repository and Flash messages Discussion
Yep! Chris is a great teacher and I'm grateful for the course, but there is no point in inviting someone and not letting the person talk.
Filipe Carneiro repliedMetaprogramming Virtual Attributes Discussion
I have a model called Customer which belongs to a User. I am trying to implement a way for the Customer to have access to the attributes directly ( e.g.: `Customer.first_name` instead of having to ...
Leon Entrup repliedIntersection Observer API to refactor Infinite scroll Discussion
This works great! The only thing I'd add is that if you want to hide the pagination itself, don't use "display: none" because the observer API won't work. You can use "opacity:0" or some other way...
lsantobuono repliedGitHub Actions with Ruby on Rails: Setting up Continuous Integration Discussion
As a note, for devs with PR process, this setup will cause to be n+1 since you'll be triggering runs on any push without considering the branch, a better approach would be to only count pushes to `...
Ignacio Alonso repliedHow to Build a Slack Slash Command App with Rails Discussion
openproject developer
Thanks for sharing
Stormy repliedUser Avatars with ActiveStorage Discussion
Hello, I am new in this, studying about Active Storage I want something like I can create recipe and in recipe model I have one image to store I understood in this video about Active Storage but do...
TilakP3811 repliedLiskov Substitution Principle Discussion
or like this birds.select { |bird| bird.respond_to?(:can_fly?) }
Mateusz Bialowas replied