3 module AssociationModule
5 attr :association, :has_many_manifest
6 def initialize association, has_many_manifest
7 @association = association
8 @has_many_manifest = has_many_manifest
16 @has_many_manifest.model
20 list = ::Locmare::ListGroup.list(
21 @has_many_manifest.controller_name,
22 @has_many_manifest.action_name,
23 self.profiler.operators,
24 {:id => self.item.id, :page => 1, :page_size => 3}
26 list_result = list.open(self.profiler.operators)
27 items = list_result.items
28 ::Locmare::Filer.new self.has_many_model.item_name, items, list_result, :more, self.profiler.operators