-
[Rails5] Fix `Route source can't be blank` · c3e40ed8blackst0ne authored
In Rails 5.0 automatic inverse does not work for polymorphic relathionships. It was fixed in Rails 5.2: https://github.com/rails/rails/pull/28808 Until that the `inverse_of: :source` argument should be set explicitly.
c3e40ed8
×