How do I get my Rails app\'s root directory path?
For super correctness, you should use:
Rails.root.join('foo','bar')
which will allow your app to work on platforms where / is not the directory separator, should anyone try and run it on one.
/