Module: RemoteDb::Concerns::ReadOnlyModel::ClassMethods
- Defined in:
- lib/remote_db/concerns/read_only_model.rb
Instance Method Summary collapse
- #delete(id_or_array) ⇒ Object
- #delete_all(conditions = nil) ⇒ Object
- #update_all(conditions = nil) ⇒ Object
Instance Method Details
#delete(id_or_array) ⇒ Object
11 12 13 |
# File 'lib/remote_db/concerns/read_only_model.rb', line 11 def delete(id_or_array) raise ActiveRecord::ReadOnlyRecord end |
#delete_all(conditions = nil) ⇒ Object
15 16 17 |
# File 'lib/remote_db/concerns/read_only_model.rb', line 15 def delete_all(conditions = nil) raise ActiveRecord::ReadOnlyRecord end |
#update_all(conditions = nil) ⇒ Object
19 20 21 |
# File 'lib/remote_db/concerns/read_only_model.rb', line 19 def update_all(conditions = nil) raise ActiveRecord::ReadOnlyRecord end |