Sha256: 7d55bdcf67a9cd6000be82c3a752aa3eba1830fd2d0ae6f134909a7f2ead6a22

Contents?: true

Size: 151 Bytes

Versions: 4

Compression:

Stored size: 151 Bytes

Contents

class User < ActiveRecord::Base
  attr_accessible :name, :email
  has_many :posts
  
  validates_presence_of :name, :email
  
  autocomplete :name
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
activeadmin_associations-0.1.3 spec/dummy/app/models/user.rb
aa_associations-0.1.2 test/dummy/app/models/user.rb
aa_associations-0.1.1 test/dummy/app/models/user.rb
aa_associations-0.1.0 test/dummy/app/models/user.rb