Hi all, I have the following relationship: class TopoFile < ActiveRecord::Base has_many :networks
class Customer < ActiveRecord::Base has_many :networks class Network < ActiveRecord::Base belongs_to :topo_file belongs_to :customer When I look at user active_scaffold, I would like to show the networks for only a TopoFile when I have an url like that : /customers/by_topo_file/:id I managed to grab :id but and to display the relevant network in the column using this function in the relevant view : <%= render :active_scaffold => 'customers', :conditions => "networks.topo_file_id = #...@topo_file_id.to_s}" %> But when I click on the link which display the network in a nested way, all are shown. Any idea to display only the relevant one in the nested view? Thanks in advance, Sylvain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
