Module: ActiveLdap::Callbacks
- Defined in:
- lib/active_ldap/callbacks.rb
Class Method Summary collapse
Class Method Details
.append_features(base) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/active_ldap/callbacks.rb', line 5 def self.append_features(base) super base.class_eval do include ActiveRecord::Callbacks def callback(method) super rescue ActiveRecord::ActiveRecordError raise Error, $!. end end end |