Module: Shoulda::Matchers::ActiveModel

Defined in:
lib/shoulda/matchers/active_model/callbacks.rb

Overview

:nodoc:

Defined Under Namespace

Classes: Callbacks

Class Method Summary collapse

Class Method Details

.possible_callback_pairsObject


5
6
7
# File 'lib/shoulda/matchers/active_model/callbacks.rb', line 5

def self.possible_callback_pairs
  ::ActiveRecord::Base::CALLBACKS.collect{|symbol| symbol.to_s.split('_')}
end