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
*
Use default model enum in fixtures if not defined
eileencodes
2015-07-02
1
-0
/
+6
*
Add enum prefix/suffix option to enum definition
Igor Kapkov
2015-06-12
1
-0
/
+50
*
Resolve enums in test fixtures
George Claghorn
2015-05-27
1
-30
/
+30
*
add ActiveRecord::Enum testcase about multiple enums declaring at a time
keepcosmos
2015-03-05
1
-0
/
+14
*
Error message testing fix
Franky W
2015-02-20
1
-2
/
+4
*
Mention `where.not` in the example
Godfrey Chan
2015-02-14
1
-0
/
+4
*
Fixed a bug where NULLs are casted into the first enum value
Godfrey Chan
2015-02-13
1
-3
/
+8
*
Partially revert ae33aea
Godfrey Chan
2015-02-13
1
-4
/
+0
*
Break up these tests
Godfrey Chan
2015-02-13
1
-4
/
+23
*
oops, 'format' is not a real enum
Godfrey Chan
2015-02-13
1
-8
/
+8
*
Enums should be referred to by symbols
Godfrey Chan
2015-02-13
1
-1
/
+14
*
Refactor enum to be defined in terms of the attributes API
Sean Griffin
2015-02-11
1
-1
/
+16
*
Enums shouldn't ruin people's anniversaries
Godfrey Chan
2014-09-04
1
-1
/
+2
*
Follow up to bbe7fe41 to fix enum leakage across classes.
Godfrey Chan
2014-04-07
1
-7
/
+28
*
make enums distinct per class
Evan Whalen
2014-04-07
1
-0
/
+15
*
Block a few default Class methods as scope name.
Arthur Neves
2014-04-03
1
-0
/
+1
*
Fix a bug affecting validations of enum attributes
TheMonster
2014-02-27
1
-0
/
+27
*
Remove unused variable.
Tim Fenney
2014-01-31
1
-1
/
+1
*
`enum` now raises on "dangerous" name conflicts
Godfrey Chan
2014-01-29
1
-0
/
+59
*
Remove unused assignment to fix warnings in enum test.
Vipul A M
2014-01-24
1
-1
/
+0
*
Add more tests for the dirty feature for enums
Rafael Mendonça França
2014-01-21
1
-0
/
+32
*
Make enum feature work with dirty methods
Rafael Mendonça França
2014-01-21
1
-0
/
+40
*
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