Hi all, I have the following model : Device Has_many :cross_connections Has_many :aspen_connections, :through => :cross_connections
AspenConnection Has_many :cross_connections has_many :devices, :through => :cross_connections CrossConnection belongs_to :aspen_connection belongs_to :device In the Device view, I want to see the AspenConnection, so I add the column AspenConnection to the list and I disable the eager loading: active_scaffold :aspen_connection do [...] self.list.columns = [ [...] :aspen_connections, [...] } [...] self.columns[:aspen_connections].includes = nil When I trie to see the view, I have the following error: "undefined method `aspen_connection_id=' for #<Link:0x3dbfb20>" I have the same error with all my has many through associations, even if I let the eager loading enabled... Is there a bug or did I make a mistake somewhere? 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 -~----------~----~----~----~------~----~------~--~---
