diff options
| author | Jon Leighton <j@jonathanleighton.com> | 2010-10-14 10:25:43 +0100 | 
|---|---|---|
| committer | Jon Leighton <j@jonathanleighton.com> | 2010-10-14 10:25:43 +0100 | 
| commit | 3fb493c2b037ffbdda5c91d66334ec6f79faa2d1 (patch) | |
| tree | e49b072103bbfe6fb6159954c786a31f44099325 /activemodel/lib | |
| parent | 212fdd8ba9624f61421a7a950283537a3d39ac18 (diff) | |
| parent | 01ab6f961bff150d50c99f03fa3946f48ac29b17 (diff) | |
| download | rails-3fb493c2b037ffbdda5c91d66334ec6f79faa2d1.tar.gz rails-3fb493c2b037ffbdda5c91d66334ec6f79faa2d1.tar.bz2 rails-3fb493c2b037ffbdda5c91d66334ec6f79faa2d1.zip | |
Merge branch 'master' into nested_has_many_through
Conflicts:
	activerecord/lib/active_record/associations.rb
	activerecord/test/cases/associations/cascaded_eager_loading_test.rb
Diffstat (limited to 'activemodel/lib')
| -rw-r--r-- | activemodel/lib/active_model.rb | 3 | ||||
| -rw-r--r-- | activemodel/lib/active_model/validations.rb | 2 | 
2 files changed, 2 insertions, 3 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 diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index 1b5fb55b79..b044caa8d3 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -114,7 +114,7 @@ module ActiveModel        #     end        #        #     def must_be_friends -      #       errors.add(:base, ("Must be friends to leave a comment") unless commenter.friend_of?(commentee) +      #       errors.add(:base, "Must be friends to leave a comment") unless commenter.friend_of?(commentee)        #     end        #   end        # | 
