snippet technology: rails

October 31, 2022
Run Sidekiq Seamlessly Within Rails
Now you can run Rails and Sidekiq with simple “rails s” command in the same process. Upgrade to Sidekiq 7 Add settings…

Debug Rails Controllers from Console
When working with Ruby objects it’s often helpful to call individual methods in the console. This is helpful in development and debugging….
Where Clause Along with Associations in Rails
As a developer you will struggle with models associations but sometimes you may need only some record from an associations, and when…
ActiveRecord greater/less Than Comparison
Many times you will find yourself query for some records in between of a range being it a date range or a…
Rails Console Sandbox mode
Many times you have to test your models in the rails console and you may want to not pollute your development database…