Authenticate By & Password Challenge Methods In Rails 7.1 Discussion
Restrict devise routes
To restrict access to the Devise sign-up route for only logged-in users, you can override the new action in the Users::RegistrationsController. Here's an example of how you can modify the controlle...
Earnest Claran repliedHow do I display several posts in related "weeks"
Autocomplete a form field
Extracting Reusable Base Classes In Ruby Discussion
Testing HTTP Requests with Webmock Discussion
HTML Learning Path - Image Element Discussion
In developer tools, Due to instructor video section, css and box model section are totally hidden.
inonomity repliedChanging Between Contexts In IRB Discussion
Loops & Blocks in Ruby Discussion
Thanks you, Collin! Just one comment: there are some simple things that you explain with all details, but there are others that are complicated and I feel that I have not enough information on them...
Aleksandr Gerasimov repliedRefactoring with Enumerable partition Discussion
Practical Decorators & Extracting Concepts Discussion
Really cool!
Matias H. Leidemer repliedLimiting & Clamping Values in Ruby Discussion
Yeah! Minimal if statements = Maximum efficiency.
Thomas Blevins postedCustom Turbo Confirm Modals with Hotwire in Rails Discussion
I used this snippet to close the dialog when someone clicks the backdrop. ```ruby dialog.addEventListener('click', (event) => { if (event.target.nodeName === 'DIALOG') { dialog.close(); ...
Adrian Marin repliedActiveRecord Aggregations with composed_of Discussion
This is great! Never knew about this one. Now I have to try and find uses for it :) I guess any model attribute that ends up having a lot of auxiliary methods or view helper methods around them wo...
Marc Köhlbrugge repliedHow to use Solid Queue in Rails with Active Job Discussion
What's great about the puma plugin is the cost savings when running on something like Heroku. Only one dyno needed for small apps including a Queue. Something that was quite expensive before becaus...
Matthias repliedRuby Scripts & IRB Discussion
Eric! Good to see you here bud! Yeah, I purposefully didn’t cover the install step here in the hopes that we can unify on a solution for installation that we can easily keep up to date internally. ...
cjilbert504 repliedShareMeow Discussion
Rubygems Trusted Publishing Discussion
As more and more vulnerabilities like "xz" with Linux happen, reproducible builds and releasing processes like Trusted Publishing that the Rubygems team has built will be critical. I mean, how many...
Chris Oliver posted