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 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.

Reply via email to