aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/enum.rb
Commit message (Expand)AuthorAgeFilesLines
* docs, nodoc `EnumType`. [ci skip]Yves Senn2015-11-071-1/+1
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-3/+3
* Clean up the implementation of AR::DirtySean Griffin2015-09-241-1/+7
* DRY enum conflict detectionRonak Jangir2015-09-181-21/+13
* [ci skip] Fix #21364 error in documentation about ActiveRecord::EnumAndrew Grimm2015-08-251-2/+1
* Improvements on the enum documentation [ci skip]Robin Dupret2015-07-231-9/+11
* Rename the enum_{prefix,suffix} options to _{prefix,suffix}Robin Dupret2015-07-231-10/+10
* A few documentation edits [ci skip]Robin Dupret2015-06-151-2/+2
* [ci skip] fix typo mistakeKuldeep Aggarwal2015-06-141-1/+1
* Add enum prefix/suffix option to enum definitionIgor Kapkov2015-06-121-6/+36
* Fix a minor grammatical issue in the docRomain Goyet2015-04-231-1/+1
* `type_cast_from_user` -> `cast`Sean Griffin2015-02-171-1/+1
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-171-1/+1
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* Mention `where.not` in the exampleGodfrey Chan2015-02-141-3/+3
* Fixed a bug where NULLs are casted into the first enum valueGodfrey Chan2015-02-131-0/+1
* Partially revert ae33aeaGodfrey Chan2015-02-131-1/+7
* Enums mapping is a HWIA [ci skip]Godfrey Chan2015-02-131-2/+3
* Enums should be referred to by symbolsGodfrey Chan2015-02-131-5/+6
* Don't break enum on PGSean Griffin2015-02-111-1/+1
* Refactor enum to be defined in terms of the attributes APISean Griffin2015-02-111-43/+38
* Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
* Implement `_was` and `changes` for in-place mutations of AR attributesSean Griffin2014-08-161-2/+2
* nodoc enum hooks [ci skip]Rafael Mendonça França2014-07-161-2/+2
* Do not type cast twice on attribute assignmentSean Griffin2014-06-071-5/+2
* Documentation, add examples of using an Enum scopeZac2014-05-091-2/+4
* Ensure we are looking with string keysGodfrey Chan2014-04-071-1/+1
* Follow up to bbe7fe41 to fix enum leakage across classes.Godfrey Chan2014-04-071-3/+6
* make enums distinct per classEvan Whalen2014-04-071-4/+6
* Document that enum conditions must use the ordinal valueRafael Mendonça França2014-02-041-0/+2
* `enum` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-3/+43
* Use string as keysRafael Mendonça França2014-01-211-2/+2
* Store the enum values in the DEFINED_ENUM constantRafael Mendonça França2014-01-211-8/+8
* Add more tests for the dirty feature for enumsRafael Mendonça França2014-01-211-7/+19
* Make enum feature work with dirty methodsRafael Mendonça França2014-01-211-1/+18
* Updated comment to mention the enum mapping class method [ci skip]Godfrey Chan2014-01-141-2/+3
* Enum mappings are now exposed via class methods instead of constants.Godfrey Chan2014-01-141-7/+10
* 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