aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/enum.rb
Commit message (Expand)AuthorAgeFilesLines
* use enum labels as form values. Achieved by `_before_type_cast`.Yves Senn2014-01-111-0/+3
* Minor typo fix [ci skip]Robin Dupret2014-01-031-1/+1
* Whitespace [ci skip]Rafael Mendonça França2014-01-031-1/+1
* Building new records with enum scopes now works as expectedGodfrey Chan2014-01-031-2/+8
* Improve enum documentationRobin Dupret2014-01-011-1/+6
* Fix the enums writer methodsRobin Dupret2014-01-011-1/+1
* Add the ability to nullify the `enum` columnAmr Tamimi2014-01-011-1/+6
* Fix comment example in AR enum [ci skip]Carlos Antonio da Silva2013-12-231-1/+1
* Use the same enum definition in the docs and in the comments [ci skip]Godfrey Chan2013-12-221-6/+6
* Very tiny typo fix [ci skip]Robin Dupret2013-12-061-1/+1
* _enum_methods_module should be kept privateGodfrey Chan2013-12-051-6/+7
* Make clear that the enum array should not be changed once defined. [ci skip]Godfrey Chan2013-12-051-1/+12
* bring back constant to expose the enum mapping as HWIA.Yves Senn2013-11-061-4/+13
* update the AR enum docs to match the actual behavior. [ci skip]Yves Senn2013-11-061-5/+3
* store enum mapping using `Strings` instead of `Symbols`.Yves Senn2013-11-051-1/+2
* direct enum assignment rasies ArgumentError for unknown values.Yves Senn2013-11-051-1/+6
* define enum methods inside a `Module` to make them overwritable.Yves Senn2013-11-051-13/+24
* 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
* Replace `class_eval` with `define_method` for enumVitaly Tatarintsev2013-11-041-4/+12
* 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