I have an AS controller that shows/hides a link based on data under an associated model (not under the main model).
:ignore_method => :ignore_activate_link def ignore_activate_link(record) # I don't want to do this. It generates an extra query for every record. # I already have queried the data and it was returned with the join I made for the list action # record.user.active # This is what I want to do. However, only the real attributes are available, not the associated data that I joined in record.user_active end -- 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.
