method
new
v3.0.0 -
Show latest stable
- Class:
ActiveRecord::DeleteRestrictionError
new(reflection)public
No documentation available.
# File activerecord/lib/active_record/associations.rb, line 96
def initialize(reflection)
super("Cannot delete record because of dependent #{reflection.name}")
end