aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2013-11-30 20:27:01 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2013-11-30 20:27:01 +0530
commite0326f56b41ef4e1d41fd327259873992d894736 (patch)
treea8f90ed93adaa52a869df4a827fd3cd383394bbf /activerecord
parente6bccef3d0a75e0ab92b7bb5285d19c2c23bcae4 (diff)
downloadrails-e0326f56b41ef4e1d41fd327259873992d894736.tar.gz
rails-e0326f56b41ef4e1d41fd327259873992d894736.tar.bz2
rails-e0326f56b41ef4e1d41fd327259873992d894736.zip
Typo fixes [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/oid.rb2
-rw-r--r--activerecord/test/cases/validations_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb b/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
index 6c5792954f..2a9547fd10 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
@@ -311,7 +311,7 @@ module ActiveRecord
h[k] = OID::Identity.new
}
- # Register an OID type named +name+ with a typcasting object in
+ # Register an OID type named +name+ with a typecasting object in
# +type+. +name+ should correspond to the `typname` column in
# the `pg_type` table.
def self.register_type(name, type)
diff --git a/activerecord/test/cases/validations_test.rb b/activerecord/test/cases/validations_test.rb
index 3f587d177b..5f55696c1d 100644
--- a/activerecord/test/cases/validations_test.rb
+++ b/activerecord/test/cases/validations_test.rb
@@ -93,7 +93,7 @@ class ValidationsTest < ActiveRecord::TestCase
assert reply.save(:validate => false)
end
- def test_validates_acceptance_of_with_non_existant_table
+ def test_validates_acceptance_of_with_non_existent_table
Object.const_set :IncorporealModel, Class.new(ActiveRecord::Base)
assert_nothing_raised ActiveRecord::StatementInvalid do