Sha256: 02d274f19aa2216b919283e265d40a3407044241622669eaf8200db18e472ba1
Contents?: true
Size: 247 Bytes
Versions: 6
Compression:
Stored size: 247 Bytes
Contents
class Models::User include Mongoid::Document field :name, type: String include Mongoid::Authorized def anonymous? name == 'anonymous' end class << self def avatar_url *a; end inject current: :user end end
Version data entries
6 entries across 6 versions & 1 rubygems