index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
enum.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Clean up the implementation of AR::Dirty
Sean Griffin
2015-09-24
1
-1
/
+7
*
DRY enum conflict detection
Ronak Jangir
2015-09-18
1
-21
/
+13
*
[ci skip] Fix #21364 error in documentation about ActiveRecord::Enum
Andrew Grimm
2015-08-25
1
-2
/
+1
*
Improvements on the enum documentation [ci skip]
Robin Dupret
2015-07-23
1
-9
/
+11
*
Rename the enum_{prefix,suffix} options to _{prefix,suffix}
Robin Dupret
2015-07-23
1
-10
/
+10
*
A few documentation edits [ci skip]
Robin Dupret
2015-06-15
1
-2
/
+2
*
[ci skip] fix typo mistake
Kuldeep Aggarwal
2015-06-14
1
-1
/
+1
*
Add enum prefix/suffix option to enum definition
Igor Kapkov
2015-06-12
1
-6
/
+36
*
Fix a minor grammatical issue in the doc
Romain Goyet
2015-04-23
1
-1
/
+1
*
`type_cast_from_user` -> `cast`
Sean Griffin
2015-02-17
1
-1
/
+1
*
`type_cast_for_database` -> `serialize`
Sean Griffin
2015-02-17
1
-1
/
+1
*
`Type#type_cast_from_database` -> `Type#deserialize`
Sean Griffin
2015-02-17
1
-1
/
+1
*
Mention `where.not` in the example
Godfrey Chan
2015-02-14
1
-3
/
+3
*
Fixed a bug where NULLs are casted into the first enum value
Godfrey Chan
2015-02-13
1
-0
/
+1
*
Partially revert ae33aea
Godfrey Chan
2015-02-13
1
-1
/
+7
*
Enums mapping is a HWIA [ci skip]
Godfrey Chan
2015-02-13
1
-2
/
+3
*
Enums should be referred to by symbols
Godfrey Chan
2015-02-13
1
-5
/
+6
*
Don't break enum on PG
Sean Griffin
2015-02-11
1
-1
/
+1
*
Refactor enum to be defined in terms of the attributes API
Sean Griffin
2015-02-11
1
-43
/
+38
*
Improve the performance of reading attributes
Sean Griffin
2014-11-18
1
-1
/
+1
*
Implement `_was` and `changes` for in-place mutations of AR attributes
Sean Griffin
2014-08-16
1
-2
/
+2
*
nodoc enum hooks [ci skip]
Rafael Mendonça França
2014-07-16
1
-2
/
+2
*
Do not type cast twice on attribute assignment
Sean Griffin
2014-06-07
1
-5
/
+2
*
Documentation, add examples of using an Enum scope
Zac
2014-05-09
1
-2
/
+4
*
Ensure we are looking with string keys
Godfrey Chan
2014-04-07
1
-1
/
+1
*
Follow up to bbe7fe41 to fix enum leakage across classes.
Godfrey Chan
2014-04-07
1
-3
/
+6
*
make enums distinct per class
Evan Whalen
2014-04-07
1
-4
/
+6
*
Document that enum conditions must use the ordinal value
Rafael Mendonça França
2014-02-04
1
-0
/
+2
*
`enum` now raises on "dangerous" name conflicts
Godfrey Chan
2014-01-29
1
-3
/
+43
*
Use string as keys
Rafael Mendonça França
2014-01-21
1
-2
/
+2
*
Store the enum values in the DEFINED_ENUM constant
Rafael Mendonça França
2014-01-21
1
-8
/
+8
*
Add more tests for the dirty feature for enums
Rafael Mendonça França
2014-01-21
1
-7
/
+19
*
Make enum feature work with dirty methods
Rafael Mendonça França
2014-01-21
1
-1
/
+18
*
Updated comment to mention the enum mapping class method [ci skip]
Godfrey Chan
2014-01-14
1
-2
/
+3
*
Enum mappings are now exposed via class methods instead of constants.
Godfrey Chan
2014-01-14
1
-7
/
+10
*
use enum labels as form values. Achieved by `_before_type_cast`.
Yves Senn
2014-01-11
1
-0
/
+3
*
Minor typo fix [ci skip]
Robin Dupret
2014-01-03
1
-1
/
+1
*
Whitespace [ci skip]
Rafael Mendonça França
2014-01-03
1
-1
/
+1
*
Building new records with enum scopes now works as expected
Godfrey Chan
2014-01-03
1
-2
/
+8
*
Improve enum documentation
Robin Dupret
2014-01-01
1
-1
/
+6
*
Fix the enums writer methods
Robin Dupret
2014-01-01
1
-1
/
+1
*
Add the ability to nullify the `enum` column
Amr Tamimi
2014-01-01
1
-1
/
+6
*
Fix comment example in AR enum [ci skip]
Carlos Antonio da Silva
2013-12-23
1
-1
/
+1
*
Use the same enum definition in the docs and in the comments [ci skip]
Godfrey Chan
2013-12-22
1
-6
/
+6
*
Very tiny typo fix [ci skip]
Robin Dupret
2013-12-06
1
-1
/
+1
*
_enum_methods_module should be kept private
Godfrey Chan
2013-12-05
1
-6
/
+7
*
Make clear that the enum array should not be changed once defined. [ci skip]
Godfrey Chan
2013-12-05
1
-1
/
+12
*
bring back constant to expose the enum mapping as HWIA.
Yves Senn
2013-11-06
1
-4
/
+13
*
update the AR enum docs to match the actual behavior. [ci skip]
Yves Senn
2013-11-06
1
-5
/
+3
*
store enum mapping using `Strings` instead of `Symbols`.
Yves Senn
2013-11-05
1
-1
/
+2
[next]