mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
e87608e355
The old code does @foo.destroy redirect_to foo_url, notice: "Foo was successfully destroyed." which would incorrectly state the record was destroyed even if prevented by a `before_destroy` callback. The new version would raise. |
||
---|---|---|
.. | ||
minitest | ||
rails | ||
rails.rb |