aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorErol Fornoles <erol.fornoles@gmail.com>2016-05-03 19:55:08 +0800
committerErol Fornoles <erol.fornoles@gmail.com>2016-05-03 19:55:45 +0800
commit2687a5e0ab1d5761add7d14ac750343dc473d8fb (patch)
treed3b1ed0af5d8ec3df9265dd1eaf781d0bdf11485 /activerecord
parent06dc3fba4623a77e3cc7fa04f97723462d47bf1e (diff)
downloadrails-2687a5e0ab1d5761add7d14ac750343dc473d8fb.tar.gz
rails-2687a5e0ab1d5761add7d14ac750343dc473d8fb.tar.bz2
rails-2687a5e0ab1d5761add7d14ac750343dc473d8fb.zip
Fix small typo in Active Record Migrations documentation [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index 5dc7020944..f30861b4d0 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -277,7 +277,7 @@ module ActiveRecord
# * <tt>change_column(table_name, column_name, type, options)</tt>: Changes
# the column to a different type using the same parameters as add_column.
# * <tt>change_column_default(table_name, column_name, default)</tt>: Sets a
- # default value for +column_name+ definded by +default+ on +table_name+.
+ # default value for +column_name+ defined by +default+ on +table_name+.
# * <tt>change_column_null(table_name, column_name, null, default = nil)</tt>:
# Sets or removes a +NOT NULL+ constraint on +column_name+. The +null+ flag
# indicates whether the value can be +NULL+. See