Module: Views::Extensions::ActiveRecord::CommandRecorder

Extended by:
ActiveSupport::Concern
Defined in:
lib/views/extensions/active_record/command_recorder.rb

Instance Method Summary collapse

Instance Method Details

#change_view(args) ⇒ Object



11
12
13
# File 'lib/views/extensions/active_record/command_recorder.rb', line 11

def change_view(args)
  record :change_view, args
end

#create_view(args) ⇒ Object



7
8
9
# File 'lib/views/extensions/active_record/command_recorder.rb', line 7

def create_view(args)
  record :create_view, args
end

#drop_view(args) ⇒ Object



15
16
17
# File 'lib/views/extensions/active_record/command_recorder.rb', line 15

def drop_view(args)
  record :drop_view, args
end

#invert_create_view(args) ⇒ Object



19
20
21
# File 'lib/views/extensions/active_record/command_recorder.rb', line 19

def invert_create_view(args)
  [:drop_view, args]
end