From 731aac740bc95e643b4e1899c0146afdb74cd539 Mon Sep 17 00:00:00 2001 From: Mike Munroe Date: Thu, 28 Feb 2013 16:42:39 -0500 Subject: change log4r link to most recent, updated location --- activerecord/README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/README.rdoc b/activerecord/README.rdoc index 9fc6785d99..ed1e171d58 100644 --- a/activerecord/README.rdoc +++ b/activerecord/README.rdoc @@ -130,7 +130,7 @@ A short rundown of some of the major features: SQLite3[link:classes/ActiveRecord/ConnectionAdapters/SQLite3Adapter.html]. -* Logging support for Log4r[http://log4r.sourceforge.net] and Logger[http://www.ruby-doc.org/stdlib/libdoc/logger/rdoc]. +* Logging support for Log4r[http://log4r.rubyforge.org] and Logger[http://www.ruby-doc.org/stdlib/libdoc/logger/rdoc]. ActiveRecord::Base.logger = ActiveSupport::Logger.new(STDOUT) ActiveRecord::Base.logger = Log4r::Logger.new('Application Log') -- cgit v1.2.3 From 0c3998782b455c81a0cb857a7bd4c90c5ab2e821 Mon Sep 17 00:00:00 2001 From: Ernie Miller Date: Mon, 4 Mar 2013 19:02:24 -0500 Subject: Fix WhereChain docs to mention only not --- activerecord/lib/active_record/relation/query_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index 4b8c40592e..5076ae8a76 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -5,7 +5,7 @@ module ActiveRecord extend ActiveSupport::Concern # WhereChain objects act as placeholder for queries in which #where does not have any parameter. - # In this case, #where must be chained with either #not, #like, or #not_like to return a new relation. + # In this case, #where must be chained with #not to return a new relation. class WhereChain def initialize(scope) @scope = scope -- cgit v1.2.3 From b9b609e00d534b7203a443205e1db7ec9a3ddba8 Mon Sep 17 00:00:00 2001 From: Carson McDonald Date: Tue, 5 Mar 2013 07:10:41 -0500 Subject: Fix typo --- activerecord/lib/active_record/associations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 513d1012ba..35e4eb19a4 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1115,7 +1115,7 @@ module ActiveRecord # :dependent behavior may affect other callbacks. # # * :destroy causes all the associated objects to also be destroyed - # * :delete_all causes all the asssociated objects to be deleted directly from the database (so callbacks will not execute) + # * :delete_all causes all the associated objects to be deleted directly from the database (so callbacks will not execute) # * :nullify causes the foreign keys to be set to +NULL+. Callbacks are not executed. # * :restrict_with_exception causes an exception to be raised if there are any associated records # * :restrict_with_error causes an error to be added to the owner if there are any associated objects -- cgit v1.2.3