diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-11-05 17:29:52 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-11-05 17:44:08 +0100 |
commit | 44406d1e77061ce22effaae4698918c1f9f6271a (patch) | |
tree | 2b6864e46ed700719a81bf79c233bfa626a4fafd /actionpack/test/controller/webservice_test.rb | |
parent | 6c720d18a2770299433fae82c1cab25d0bd4033e (diff) | |
download | rails-44406d1e77061ce22effaae4698918c1f9f6271a.tar.gz rails-44406d1e77061ce22effaae4698918c1f9f6271a.tar.bz2 rails-44406d1e77061ce22effaae4698918c1f9f6271a.zip |
store enum mapping using `Strings` instead of `Symbols`.
This allows to assign both `String` and `Symbol` values to the enum
without having to call `to_sym`, which is a security problem.
Diffstat (limited to 'actionpack/test/controller/webservice_test.rb')
0 files changed, 0 insertions, 0 deletions