using Rails root in seeds.rb
In my seeds.rb, I'm doing some file upload cleanup and want to access RAILS_ROOT but doesn't seem to work. Calling:
doesn't work. How would I access this?
RAILS_ROOT is deprecated - you should use Rails.root instead