Sergio: Yes the method is defined right after the active_scaffold block. Hernan: I'm talking about the link displayed on the top right of the list.
On Thursday, January 10, 2013 11:42:55 AM UTC+1, Sergio Cambra wrote: > > It should work, add existing link is added with this option: > :security_method => :add_existing_authorized? > > Are you defining your method below active_scaffold block? > > On Miércoles, 9 de enero de 2013 08:20:57 Mihai escribió: > > Hi there, > > > > I need to get rid of the "Add Existing" link action. Before upgrading to > > Rails 3 supported active scaffold I was doing this by having > > > > def add_existing_authorized?(record = nil) > > false > > end > > > > in my controller. But after upgrading to rails 3 supported active > scaffold > > the security method add_existing_authorized? doen't work anymore. > > Any idea is welcome. > > > > thanks! > -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To view this discussion on the web visit https://groups.google.com/d/msg/activescaffold/-/AjNua0EI1n0J. 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.
