El Tuesday 21 April 2009 18:45:55 Soren escribió: > Hi, > > I have two different embedded scaffolds on one page. Each is attached > their own controller - which are completely different. Lets call the > User and Student > > There are however fields - address that are both in User and Student. > > If I define a helper method in helpers/student_helper to deal with > address it is invoked on BOTH the scaffolds. > > def address_column(record) > if record.private > "private" > else > record.address > end > > I'm running rails 2.2.2 and AS-2.2 > > Is this a bug or did i miss something ?
Probably you will have helper :all in your application controller > -- Sergio Cambra .:: entreCables S.L. ::. Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
