El Sábado, 26 de Enero de 2008, GamaFranco escribió:
> Hi,
>
> Thanks for the reply. But The action is to be checked at record level.
> How do I access the record in the method that checks the security?
> Mind that the method needs to be defined in the controller.
At record level you can define authorized_for_#{action}, action must be a
crud action (create, read, update, destroy) and you must set link's
crud_type to that action