Sha256: cc3465db4886bd27b4bfc39ad1b5855ac2b1ea26472b8782797c04609789c80e
Contents?: true
Size: 159 Bytes
Versions: 1
Compression:
Stored size: 159 Bytes
Contents
Comable::User.class_eval do enumerize :role, in: %i( root admin reporter customer ), default: :customer, predicates: true, scope: true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comable-apartment-0.0.1 | app/decorators/comable/user_decorator.rb |