mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3efd90ac5b
Previously, if you tried to use form_for with a presenter object
that implements to_model, it would crash in
action_dispatch/routing/polymorphic_routes.rb when asking the presenter
whether it is .persisted?
Now, we always ask .persisted? of the to_model object instead.
This seems to been an issue since
|
||
---|---|---|
.. | ||
controller_runtime_test.rb | ||
debug_helper_test.rb | ||
form_helper_activerecord_test.rb | ||
polymorphic_routes_test.rb | ||
render_partial_with_record_identification_test.rb |