diff options
author | John Hawthorn <john@hawthorn.email> | 2019-03-18 10:18:36 -0700 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2019-03-18 11:25:50 -0700 |
commit | 0eb9e1e51a9df554e1cf7a42ec339ca6f0120a04 (patch) | |
tree | a8e5e0ed4b50bdd6052474662af88ae8636b42ac /actionview/lib/action_view/record_identifier.rb | |
parent | ffc842a09927986819cf7a66ae6a15f97bfeed76 (diff) | |
download | rails-0eb9e1e51a9df554e1cf7a42ec339ca6f0120a04.tar.gz rails-0eb9e1e51a9df554e1cf7a42ec339ca6f0120a04.tar.bz2 rails-0eb9e1e51a9df554e1cf7a42ec339ca6f0120a04.zip |
Raise in LookupContext#formats= on invalid format
This is a developer quality of life improvement, to ensure that unknown
formats aren't assigned (which it would previously accept, but wouldn't
work 100% correctly due to caching).
Diffstat (limited to 'actionview/lib/action_view/record_identifier.rb')
0 files changed, 0 insertions, 0 deletions