Sha256: 69c047c2f77399564726b4b30eceab7c32eaae5b5eeac61c665fbcf3791f430a

Contents?: true

Size: 221 Bytes

Versions: 6

Compression:

Stored size: 221 Bytes

Contents

class Post < ActiveRecord::Base
  has_eav :through => :post_attribute do
    eav_attribute :author_name
    eav_attribute :author_email
    eav_attribute :published_on, Date
    eav_attribute :last_update, Time
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
has_eav-1.2.0 test/app/models/post.rb
has_eav-1.1.5 test/app/models/post.rb
has_eav-1.1.4 test/app/models/post.rb
has_eav-1.1.2 test/app/models/post.rb
has_eav-1.1.1 test/app/models/post.rb
has_eav-1.1.0 test/app/models/post.rb