aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/integer.rb
Commit message (Collapse)AuthorAgeFilesLines
* code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
| | | | | | | | | A few have been left for aesthetic reasons, but have made a pass and removed most of them. Note that if the method `foo` returns an array, `foo << 1` is a regular push, nothing to do with assignments, so no self required.
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-21/+21
|
* Change RangeError to a more specific ActiveModel::RangeErrorChristian Blais2016-05-031-1/+1
| | | | | | The should make it easier for apps to rescue ActiveModel specific errors without the need to wrap all method calls with a generic rescue RangeError.
* Move ActiveRecord::Type to ActiveModelKir Shatrov2015-09-211-0/+66
The first step of bringing typecasting to ActiveModel