Method: ActiveRecord::LiteView.drop_view

Defined in:
lib/vex/active_record/lite_view.rb

.drop_view(klass, view) ⇒ Object



45
46
47
# File 'lib/vex/active_record/lite_view.rb', line 45

def self.drop_view(klass, view)
  destroy_all :name => view_name(:klass => klass, :view => view)
end