Method: ActivityNotification::ORM::ActiveRecord::Notification.raise_delete_restriction_error
- Defined in:
- lib/activity_notification/orm/active_record/notification.rb
.raise_delete_restriction_error(error_text) ⇒ void
This method returns an undefined value.
Raise DeleteRestrictionError for notifications.
179 180 181 |
# File 'lib/activity_notification/orm/active_record/notification.rb', line 179 def self.raise_delete_restriction_error(error_text) raise ::ActiveRecord::DeleteRestrictionError.new(error_text) end |