<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 *SVN*
 
+* Add Rails.logger, Rails.root, Rails.env and Rails.cache shortcuts for RAILS_* constants [pratik]
+
 * Allow files in plugins to be reloaded like the rest of the application.  [rick]
 
   Enables or disables plugin reloading.</diff>
      <filename>railties/CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -22,6 +22,22 @@ module Rails
     @@configuration = configuration
   end
   
+  def self.logger
+    RAILS_DEFAULT_LOGGER
+  end
+  
+  def self.root
+    RAILS_ROOT
+  end
+  
+  def self.env
+    RAILS_ENV
+  end
+  
+  def self.cache
+    RAILS_CACHE
+  end
+  
   # The Initializer is responsible for processing the Rails configuration, such
   # as setting the $LOAD_PATH, requiring the right frameworks, initializing
   # logging, and more. It can be run either as a single command that'll just</diff>
      <filename>railties/lib/initializer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c2ea2874475f4f93fe087ef63cdeee020dc98cdd</id>
    </parent>
  </parents>
  <author>
    <name>Pratik Naik</name>
    <email>pratiknaik@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/dc1166d12bbe4f5b65862f4d46cd0ab98141b1cb</url>
  <id>dc1166d12bbe4f5b65862f4d46cd0ab98141b1cb</id>
  <committed-date>2008-03-31T19:09:52-07:00</committed-date>
  <authored-date>2008-03-31T19:09:52-07:00</authored-date>
  <message>Add Rails.logger, Rails.root, Rails.env and Rails.cache shortcuts for RAILS_* constants


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de</message>
  <tree>e71f9a8a7174177ca439f3e09c0669e7f677a034</tree>
  <committer>
    <name>Pratik Naik</name>
    <email>pratiknaik@gmail.com</email>
  </committer>
</commit>
