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
*
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
*
direct enum assignment rasies ArgumentError for unknown values.
Yves Senn
2013-11-05
1
-1
/
+6
*
define enum methods inside a `Module` to make them overwritable.
Yves Senn
2013-11-05
1
-13
/
+24
*
The enum value constant isn't used, so rm it for now.
Aaron Patterson
2013-11-04
1
-17
/
+7
*
stop doing the same calculation over and over
Aaron Patterson
2013-11-04
1
-4
/
+5
*
Fix failures related to enum changes
Carlos Antonio da Silva
2013-11-04
1
-6
/
+4
*
Replace `class_eval` with `define_method` for enum
Vitaly Tatarintsev
2013-11-04
1
-4
/
+12
*
Move documentation around a bit
David Heinemeier Hansson
2013-11-02
1
-4
/
+7
*
Explicit mapping for enum
Yury Korolev
2013-11-02
1
-1
/
+5
*
Fix to work on Ruby 1.9.3, example and changelog improvements
Carlos Antonio da Silva
2013-11-02
1
-5
/
+5
*
Added ActiveRecord::Base#enum for declaring enum attributes where the values ...
David Heinemeier Hansson
2013-11-02
1
-0
/
+60