aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/enum.rb
Commit message (Collapse)AuthorAgeFilesLines
* The enum value constant isn't used, so rm it for now.Aaron Patterson2013-11-041-17/+7
|
* stop doing the same calculation over and overAaron Patterson2013-11-041-4/+5
|
* Fix failures related to enum changesCarlos Antonio da Silva2013-11-041-6/+4
| | | | | | Commit 6e4a810f51b9ed2468b92247ef5568cc9d6dbcc0 changed the implementation from class_eval to define_method, but missed the access to the constant versus the access to the constant name.
* Replace `class_eval` with `define_method` for enumVitaly Tatarintsev2013-11-041-4/+12
| | | | https://github.com/rails/rails/commit/db41eb8a6ea88b854bf5cd11070ea4245e1639c5#commitcomment-4502683
* Move documentation around a bitDavid Heinemeier Hansson2013-11-021-4/+7
|
* Explicit mapping for enumYury Korolev2013-11-021-1/+5
|
* Fix to work on Ruby 1.9.3, example and changelog improvementsCarlos Antonio da Silva2013-11-021-5/+5
|
* Added ActiveRecord::Base#enum for declaring enum attributes where the values ↵David Heinemeier Hansson2013-11-021-0/+60
map to integers in the database, but can be queried by name