Method: Protector::Adapters::Sequel::Model#updatable?

Defined in:
lib/protector/adapters/sequel/model.rb

#updatable?Boolean

Checks if current model can be updated in the context of current subject

Returns:

  • (Boolean)


54
55
56
# File 'lib/protector/adapters/sequel/model.rb', line 54

def updatable?
  protector_meta.updatable? protector_changed(changed_columns)
end