aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/enum_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove unused variable.Tim Fenney2014-01-311-1/+1
* `enum` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-0/+59
* Remove unused assignment to fix warnings in enum test.Vipul A M2014-01-241-1/+0
* Add more tests for the dirty feature for enumsRafael Mendonça França2014-01-211-0/+32
* Make enum feature work with dirty methodsRafael Mendonça França2014-01-211-0/+40
* Enum mappings are now exposed via class methods instead of constants.Godfrey Chan2014-01-141-3/+3
* use enum labels as form values. Achieved by `_before_type_cast`.Yves Senn2014-01-111-0/+4
* Building new records with enum scopes now works as expectedGodfrey Chan2014-01-031-6/+7
* Fix the enums writer methodsRobin Dupret2014-01-011-1/+10
* Add the ability to nullify the `enum` columnAmr Tamimi2014-01-011-0/+15
* bring back constant to expose the enum mapping as HWIA.Yves Senn2013-11-061-0/+6
* store enum mapping using `Strings` instead of `Symbols`.Yves Senn2013-11-051-2/+7
* direct enum assignment rasies ArgumentError for unknown values.Yves Senn2013-11-051-0/+12
* define enum methods inside a `Module` to make them overwritable.Yves Senn2013-11-051-0/+5
* The enum value constant isn't used, so rm it for now.Aaron Patterson2013-11-041-10/+0
* fix copy & paste test-case naming. [ci skip]Yves Senn2013-11-041-1/+1
* Explicit mapping for enumYury Korolev2013-11-021-0/+8
* Add a test case for the scope enum addsDavid Heinemeier Hansson2013-11-021-0/+4
* Use an already existing fixtureCarlos Antonio da Silva2013-11-021-1/+1
* Fix to work on Ruby 1.9.3, example and changelog improvementsCarlos Antonio da Silva2013-11-021-3/+3
* Added ActiveRecord::Base#enum for declaring enum attributes where the values ...David Heinemeier Hansson2013-11-021-0/+36