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
Try this instead:
Rails.root
add to_s
if you need it as a string!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With