Browse files

Active Model typos.

  • Loading branch information...
1 parent fcade9f commit fbed63aef056a2fbf9cf1eb846e7f8948001601c @rtlechow rtlechow committed Mar 3, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 activemodel/README.rdoc
  2. +1 −1 activemodel/test/cases/validations/numericality_validation_test.rb
View
2 activemodel/README.rdoc
@@ -8,7 +8,7 @@ the Rails framework.
Prior to Rails 3.0, if a plugin or gem developer wanted to have an object
interact with Action Pack helpers, it was required to either copy chunks of
code from Rails, or monkey patch entire helpers to make them handle objects
-that did not exacly conform to the Active Record interface. This would result
+that did not exactly conform to the Active Record interface. This would result
in code duplication and fragile applications that broke on upgrades.
Active Model solves this. You can include functionality from the following
View
2 activemodel/test/cases/validations/numericality_validation_test.rb
@@ -14,7 +14,7 @@ def teardown
NIL = [nil]
BLANK = ["", " ", " \t \r \n"]
- BIGDECIMAL_STRINGS = %w(12345678901234567890.1234567890) # 30 significent digits
+ BIGDECIMAL_STRINGS = %w(12345678901234567890.1234567890) # 30 significant digits
FLOAT_STRINGS = %w(0.0 +0.0 -0.0 10.0 10.5 -10.5 -0.0001 -090.1 90.1e1 -90.1e5 -90.1e-5 90e-5)
INTEGER_STRINGS = %w(0 +0 -0 10 +10 -10 0090 -090)
FLOATS = [0.0, 10.0, 10.5, -10.5, -0.0001] + FLOAT_STRINGS

0 comments on commit fbed63a

Please sign in to comment.