aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/schema_dumper.rb
diff options
context:
space:
mode:
authorLee Reilly <lee@leereilly.net>2011-05-29 12:40:24 -0700
committerLee Reilly <lee@leereilly.net>2011-05-29 12:40:24 -0700
commit4f234bfd799f471490775a2843b3cf7db2af21ed (patch)
treeea9623612567ea02dbdd5a73463274bb3f92a6f9 /activerecord/lib/active_record/schema_dumper.rb
parent18b153d15d76ff2f06b76a16ca46b548b7d6750a (diff)
downloadrails-4f234bfd799f471490775a2843b3cf7db2af21ed.tar.gz
rails-4f234bfd799f471490775a2843b3cf7db2af21ed.tar.bz2
rails-4f234bfd799f471490775a2843b3cf7db2af21ed.zip
Corrected some typos and American vs. Queen's English issues
Diffstat (limited to 'activerecord/lib/active_record/schema_dumper.rb')
-rw-r--r--activerecord/lib/active_record/schema_dumper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb
index 62e6999736..19585f6214 100644
--- a/activerecord/lib/active_record/schema_dumper.rb
+++ b/activerecord/lib/active_record/schema_dumper.rb
@@ -106,7 +106,7 @@ HEADER
spec = {}
spec[:name] = column.name.inspect
- # AR has an optimisation which handles zero-scale decimals as integers. This
+ # AR has an optimization which handles zero-scale decimals as integers. This
# code ensures that the dumper still dumps the column as a decimal.
spec[:type] = if column.type == :integer && [/^numeric/, /^decimal/].any? { |e| e.match(column.sql_type) }
'decimal'