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 ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---