Alex Rivera | Logout

Updating rails to 3.1.1 i get uninitialized constant Product::RAILS_ROOT

Asked 2011-11-19T20:43:39.567
9

After updating from 3.0.1 to 3.1.1 my application according the relevant railscast i seem to get this:

uninitialized constant Product::RAILS_ROOT

Product is my main object

Edit
Report

1 Answer

6

RAILS_ROOTno longer exists. Use Rails.root instead.

answered 2011-11-19T20:45:40.380

Your Answer