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
|
||
---|---|---|
.. | ||
actionpack | ||
activerecord | ||
fixtures | ||
lib/controller | ||
template | ||
tmp | ||
abstract_unit.rb | ||
active_record_unit.rb |