Skip to content
This repository
Browse code

Fixed typo in 'cast'.

  • Loading branch information...
commit ecac7c96451ee8d85ca602c9ce3416a5e7ef6a03 1 parent 253ef4f
Aleksey Gureiev alg authored
10 activerecord/CHANGELOG.md
Source Rendered
@@ -72,7 +72,7 @@
72 72
73 73 ## Rails 3.2.0 (unreleased) ##
74 74
75   -* 'on' and 'ON' boolean columns values are type casted to true
  75 +* 'on' and 'ON' boolean columns values are type cast to true
76 76 *Santiago Pastorino*
77 77
78 78 * Added ability to run migrations only for given scope, which allows
@@ -667,7 +667,7 @@
667 667 *Andrew White*
668 668
669 669 * Fix performance bug with attribute accessors which only occurred on Ruby 1.8.7, and ensure we
670   - cache type-casted values when the column returned from the db contains non-standard chars.
  670 + cache type-cast values when the column returned from the db contains non-standard chars.
671 671 *Jon Leighton*
672 672
673 673 * Fix a performance regression introduced here 86acbf1cc050c8fa8c74a10c735e467fb6fd7df8
@@ -1011,7 +1011,7 @@
1011 1011
1012 1012 * Ensure indices don't flip order in schema.rb #1266 *Jordi Bunster*
1013 1013
1014   -* Fixed that serialized strings should never be type-casted (i.e. turning "Yes" to a boolean) #857 *Andreas Korth*
  1014 +* Fixed that serialized strings should never be type-cast (i.e. turning "Yes" to a boolean) #857 *Andreas Korth*
1015 1015
1016 1016
1017 1017 ## 2.2.0 RC1 (October 24th, 2008) ##
@@ -5804,7 +5804,7 @@
5804 5804
5805 5805 * Added scope option to validation_uniqueness #349 *Kent Sibilev*
5806 5806
5807   -* Added respondence to *_before_type_cast for all attributes to return their string-state before they were type casted by the column type.
  5807 +* Added respondence to *_before_type_cast for all attributes to return their string-state before they were type cast by the column type.
5808 5808 This is helpful for getting "100,000" back on a integer-based validation where the value would normally be "100".
5809 5809
5810 5810 * Added allow_nil options to validates_inclusion_of so that validation is only triggered if the attribute is not nil *what-a-day*
@@ -6632,7 +6632,7 @@
6632 6632 # by calling new on the column type or aggregation type (through composed_of) object with these parameters.
6633 6633 # So having the pairs written_on(1) = "2004", written_on(2) = "6", written_on(3) = "24", will instantiate
6634 6634 # written_on (a date type) with Date.new("2004", "6", "24"). You can also specify a typecast character in the
6635   - # parenteses to have the parameters typecasted before they're used in the constructor. Use i for Fixnum, f for Float,
  6635 + # parenteses to have the parameters type cast before they're used in the constructor. Use i for Fixnum, f for Float,
6636 6636 # s for String, and a for Array.
6637 6637
6638 6638 This is incredibly useful for assigning dates from HTML drop-downs of month, year, and day.
2  railties/guides/source/3_2_release_notes.textile
Source Rendered
@@ -296,7 +296,7 @@ h4. Sprockets
296 296
297 297 h3. Active Record
298 298
299   -* Boolean columns with 'on' and 'ON' values are type casted to true.
  299 +* Boolean columns with 'on' and 'ON' values are type cast to true.
300 300
301 301 * When the +timestamps+ method creates the +created_at+ and +updated_at+ columns, it makes them non-nullable by default.
302 302

0 comments on commit ecac7c9

Please sign in to comment.
Something went wrong with that request. Please try again.