Mount a Sinatra app via Rails routes or
Rack::Builder if you need a custom middleware stack
for your Sinatra app.
Sleep better at night knowing your migrations are reversible.
Buy, prepare, and deploy an SSL certificate from DNSimple for your Heroku app.
spec_helper.rb file into a
spec_helper.rb file and a
to load only the necessary dependencies in a spec.
This is now the default in Rails.
Calculations across objects are ripe for using a map and an inject but frequently, with ActiveRecord, the solution is more elegant and faster if we can have SQL do the work instead.
How moving some data out of the database and into your codebase
as well-named constants can decouple your code and improve performance.
Step-by-step instructions for learning Test-Driven Development (TDD) in Ruby.
There’s nothing to fear!
Try out enums, a new data structure macro in Rails.
Use microservices to compose and analyse light-weight declarative data pipelines.
Write less form-related code in your Capybara tests with
our newly open-sourced library, Formulaic.