Module: Idapted::ActsAsReadonly::SingletonMethods
- Defined in:
- lib/eco_apps/acts_as_readonly.rb
Instance Method Summary collapse
Instance Method Details
#delete_all(conditions = nil) ⇒ Object
53 54 55 |
# File 'lib/eco_apps/acts_as_readonly.rb', line 53 def delete_all(conditions = nil) raise ActiveRecord::ReadOnlyRecord end |
#table_exists? ⇒ Boolean
57 58 59 |
# File 'lib/eco_apps/acts_as_readonly.rb', line 57 def table_exists? connection.table_exists?(self.rails_origin_table_name) end |