Tag Archives: Rails

Rails 3 console and “no such file to load”

If you happen to load gems in your ~/.irbrc , make sure to add a gem dependency on them in your Rails apps’ Gemfile. For example, I just started using Awesome Print in IRB. However, when I ran rails console … Continue reading

Posted in Ruby Tagged , ,

Rails Resources:   :as   vs   :controller

As you may or may not know, when configuring routes and resources in config/routes.rb , you can pass the :as or :controller options to map.resources . When I first read about these two options in the Rails Routing From The … Continue reading

Posted in Coding Tagged , ,