Sha256: d52132d3695b9a09451d842c261e8c1d7db8cf876e800eec3cc52c4df4f83c13

Contents?: true

Size: 135 Bytes

Versions: 6

Compression:

Stored size: 135 Bytes

Contents

class Admin < ActiveRecord::Base
  acts_as_amico :amico_key => :name
  validates_uniqueness_of :name
  validates_presence_of :name
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
acts_as_amico-0.2.8 spec/dummy/app/models/admin.rb
acts_as_amico-0.2.7 spec/dummy/app/models/admin.rb
acts_as_amico-0.2.6 spec/dummy/app/models/admin.rb
acts_as_amico-0.2.4 spec/dummy/app/models/admin.rb
acts_as_amico-0.2.2 spec/dummy/app/models/admin.rb
acts_as_amico-0.2.0 spec/dummy/app/models/admin.rb