myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2829] trunk/config/environment.rb: Fixed typo RA


From: noreply
Subject: [myexperiment-hackers] [2829] trunk/config/environment.rb: Fixed typo RAILS:: VERSION should be Rails::Version
Date: Sun, 20 Nov 2011 10:46:45 -0500 (EST)

Revision
2829
Author
drn05r
Date
2011-11-20 10:46:44 -0500 (Sun, 20 Nov 2011)

Log Message

Fixed typo RAILS::VERSION should be Rails::Version

Modified Paths

Diff

Modified: trunk/config/environment.rb (2828 => 2829)


--- trunk/config/environment.rb	2011-11-18 16:46:53 UTC (rev 2828)
+++ trunk/config/environment.rb	2011-11-20 15:46:44 UTC (rev 2829)
@@ -113,7 +113,7 @@
 load 'config/environment_private.rb' if FileTest.exist?('config/environment_private.rb')
 
 # Fix for Ruby 1.8.7 when using Rails < 2.2
-if RUBY_VERSION == "1.8.7" && ((RAILS::VERSION::MAJOR == 1) || (RAILS::VERSION::MAJOR == 2 && RAILS::VERSION::MINOR < 2))
+if RUBY_VERSION == "1.8.7" && ((Rails::VERSION::MAJOR == 1) || (Rails::VERSION::MAJOR == 2 && Rails::VERSION::MINOR < 2))
   module ActionView
     module Helpers
       module TextHelper

reply via email to

[Prev in Thread] Current Thread [Next in Thread]