Fixed rails.rb