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
/
test
/
cases
/
enum_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Enum mappings are now exposed via class methods instead of constants.
Godfrey Chan
2014-01-14
1
-3
/
+3
*
use enum labels as form values. Achieved by `_before_type_cast`.
Yves Senn
2014-01-11
1
-0
/
+4
*
Building new records with enum scopes now works as expected
Godfrey Chan
2014-01-03
1
-6
/
+7
*
Fix the enums writer methods
Robin Dupret
2014-01-01
1
-1
/
+10
*
Add the ability to nullify the `enum` column
Amr Tamimi
2014-01-01
1
-0
/
+15
*
bring back constant to expose the enum mapping as HWIA.
Yves Senn
2013-11-06
1
-0
/
+6
*
store enum mapping using `Strings` instead of `Symbols`.
Yves Senn
2013-11-05
1
-2
/
+7
*
direct enum assignment rasies ArgumentError for unknown values.
Yves Senn
2013-11-05
1
-0
/
+12
*
define enum methods inside a `Module` to make them overwritable.
Yves Senn
2013-11-05
1
-0
/
+5
*
The enum value constant isn't used, so rm it for now.
Aaron Patterson
2013-11-04
1
-10
/
+0
*
fix copy & paste test-case naming. [ci skip]
Yves Senn
2013-11-04
1
-1
/
+1
*
Explicit mapping for enum
Yury Korolev
2013-11-02
1
-0
/
+8
*
Add a test case for the scope enum adds
David Heinemeier Hansson
2013-11-02
1
-0
/
+4
*
Use an already existing fixture
Carlos Antonio da Silva
2013-11-02
1
-1
/
+1
*
Fix to work on Ruby 1.9.3, example and changelog improvements
Carlos Antonio da Silva
2013-11-02
1
-3
/
+3
*
Added ActiveRecord::Base#enum for declaring enum attributes where the values ...
David Heinemeier Hansson
2013-11-02
1
-0
/
+36