Module: Idapted::ActsAsReadonly::InstanceMethods
- Defined in:
- lib/eco_apps/acts_as_readonly.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
67 68 69 |
# File 'lib/eco_apps/acts_as_readonly.rb', line 67 def destroy raise ActiveRecord::ReadOnlyRecord end |
#readonly? ⇒ Boolean
63 64 65 |
# File 'lib/eco_apps/acts_as_readonly.rb', line 63 def readonly? true end |