Don’t manually setup your new laptop with a series of copy-and-pasted steps from some blog post. Leverage automation and the open source community to save time and get a more stable result.
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.