diff options
author | wycats <wycats@gmail.com> | 2010-10-10 16:11:04 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-10-10 16:12:04 -0700 |
commit | cc8e386d08d83ca1ad0c5da863f588b4c4fbe62c (patch) | |
tree | 2079f657bb46369940c65b47e968e436ef4d134f /activemodel | |
parent | de05e1c33ce13069025d1531e082adc5fe62e79a (diff) | |
download | rails-cc8e386d08d83ca1ad0c5da863f588b4c4fbe62c.tar.gz rails-cc8e386d08d83ca1ad0c5da863f588b4c4fbe62c.tar.bz2 rails-cc8e386d08d83ca1ad0c5da863f588b4c4fbe62c.zip |
Always pull in version for frameworks (standardize autoload / require / none)
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activemodel/lib/active_model.rb b/activemodel/lib/active_model.rb index 9b8f843432..be0f24ff92 100644 --- a/activemodel/lib/active_model.rb +++ b/activemodel/lib/active_model.rb @@ -24,7 +24,7 @@ activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__) $:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path) require 'active_support' - +require 'active_model/version' module ActiveModel extend ActiveSupport::Autoload @@ -45,7 +45,6 @@ module ActiveModel autoload :Serialization autoload :TestCase autoload :Translation - autoload :VERSION autoload :Validations autoload :Validator |