diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-17 21:00:39 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-18 13:16:33 +0900 |
commit | 1dfd01475d93b8801df0a2933094b437a607e3e2 (patch) | |
tree | da5f7773f1e4077a65180cfbc0bc475a6d55f882 /actionpack/test/controller/form_builder_test.rb | |
parent | 9379d553d8669a99b55368715ccc48645f0441d2 (diff) | |
download | rails-1dfd01475d93b8801df0a2933094b437a607e3e2.tar.gz rails-1dfd01475d93b8801df0a2933094b437a607e3e2.tar.bz2 rails-1dfd01475d93b8801df0a2933094b437a607e3e2.zip |
Extract duplicated `serialize` methods into helpers
Since `serialize` is passed user input args (from `where`, schema
default, etc), a helper should provide `serialize` if the helper also
provide `cast`.
Related #32624, 34cc301, a741208.
Diffstat (limited to 'actionpack/test/controller/form_builder_test.rb')
0 files changed, 0 insertions, 0 deletions