Hi, I read a few post about the matter, but I am confused. Is it possible to disable a vanilla update link checking some data in the record itself or in any associated record?
I cannot find a way to do it, it seems that: - authorized_for? is called on an empty instance - authorized_for_update? is called as a class method (i.e self == TheRecordClass). - the security_method at the controller level does not receive any arguments Any suggestion? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
