Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/branches/2-1-caching/railties/lib/railties_path.rb

Revision 6445, 56 bytes (checked in by bitsweat, 2 years ago)

Deprecation: remove components from controller paths. Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. Closes #6755.

Line 
1 RAILTIES_PATH = File.join(File.dirname(__FILE__), '..')
Note: See TracBrowser for help on using the browser.