aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2015-12-31 19:45:47 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2015-12-31 19:46:05 -0300
commite991c7b8cd69d7ba5e221a19e5f386e3ba02eb9d (patch)
tree0524bb13d7d9fe66d122b094648b16efd04807d3 /actionpack/lib/action_controller
parent8167fa4562841f4ae7ce307ce0c91a448a695ad9 (diff)
downloadrails-e991c7b8cd69d7ba5e221a19e5f386e3ba02eb9d.tar.gz
rails-e991c7b8cd69d7ba5e221a19e5f386e3ba02eb9d.tar.bz2
rails-e991c7b8cd69d7ba5e221a19e5f386e3ba02eb9d.zip
value has the right type here
using `enum kind: [ :any, :income, :expense ]` syntax, value is already an integer and using `enum kind: { any: 'any', income: 'income', expense: 'expense' }` syntax value is a string. This allows us to define the mapping in the enum definition. This reverts commit 933decceaf6092020ba7ba768b51b2db9d5b882f.
Diffstat (limited to 'actionpack/lib/action_controller')
0 files changed, 0 insertions, 0 deletions