Autocomplete a form field
Unable to autoload constant OmniauthCallbacksController, expected /home/ec2-user/environment/Assignment/app/controllers/omniauth_callbacks_controller.rb to define it
Setup MacOS 15 Seqouia Discussion
Extracting Reusable Base Classes In Ruby Discussion
Testing HTTP Requests with Webmock Discussion
How can I validate from a gem that doesn't have the proper validation calls in the model?
current_user.send_message(recipients, conversation_params[:body], conversation_params[:subject]) unless recipient.nil?
wyn repliedHTML 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
How do I test the order of elements on a rails app page with Rspec / Capybara?
To test the order of elements on a page with Rspec and Capybara, you can do the following: 1. Create a new Rspec test to check the display order of the teams: # spec/features/team_index_spec.rb req...
felixandrea repliedPractical 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 replied