01
Dec
2008
Ever tried Rails.root
Guys, have you ever tried Rails.root. It gives same value as RAILS_ROOT. But now in edge rails it is modified and you can do much more with it.
You can use Rails.root at places like:
as
Both gives the same result.
