test/dummy/app/models/zone.rb in epom_rails-0.4.9 vs test/dummy/app/models/zone.rb in epom_rails-1.0.0
- old
+ new
@@ -1,3 +1,3 @@
class Zone < ActiveRecord::Base
- acts_as_zone epom_id: 'id', name: 'name', description: 'description', site_id: 'siteId'
+ acts_as_zone belongs_to: [{:name => 'publisher', :epom_element => 'Site', :model => 'Publisher'}]
end