Let’s make I18n on Rails better, quickly and easily. These tips have helped...
Have you ever noticed that when you assign a property to an Active Record...
Developers who are well versed in Ruby on Rails (or other MVC...
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!