test/app/models/post.rb in has_eav-1.0.1 vs test/app/models/post.rb in has_eav-1.1.0
- old
+ new
@@ -1,6 +1,8 @@
class Post < ActiveRecord::Base
has_eav :through => :post_attribute do
eav_attribute :author_name
- eav_attribute :author_email
+ eav_attribute :author_email
+ eav_attribute :published_on, Date
+ eav_attribute :last_update, Time
end
end