aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-04-13 07:15:04 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-04-13 07:15:04 +0900
commitfaca40dfd4032bbe2373210255eb7aa1c6527503 (patch)
tree288fbfd0ba086d5377d613c96360ef16d97cfb8f /activerecord/lib/active_record
parent92ba89dbcc3fd22296434103503a28dbf6b63789 (diff)
downloadrails-faca40dfd4032bbe2373210255eb7aa1c6527503.tar.gz
rails-faca40dfd4032bbe2373210255eb7aa1c6527503.tar.bz2
rails-faca40dfd4032bbe2373210255eb7aa1c6527503.zip
:scissors:
[ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/associations.rb2
-rw-r--r--activerecord/lib/active_record/dynamic_matchers.rb1
2 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 6efa448d49..e52c2004f3 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -1649,7 +1649,7 @@ module ActiveRecord
# you don't want to have association presence validated, use <tt>optional: true</tt>.
# [:default]
# Provide a callable (i.e. proc or lambda) to specify that the association should
- # be initialized with a particular record before validation.
+ # be initialized with a particular record before validation.
#
# Option examples:
# belongs_to :firm, foreign_key: "client_of"
diff --git a/activerecord/lib/active_record/dynamic_matchers.rb b/activerecord/lib/active_record/dynamic_matchers.rb
index 08d42f3dd4..d9912cfb22 100644
--- a/activerecord/lib/active_record/dynamic_matchers.rb
+++ b/activerecord/lib/active_record/dynamic_matchers.rb
@@ -1,4 +1,3 @@
-
module ActiveRecord
module DynamicMatchers #:nodoc:
def respond_to_missing?(name, include_private = false)