On Viernes, 21 de Mayo de 2010 13:19:45 Iñaki Baz Castillo escribió:
> Hi, is there an easy way to log in a file each action performed in AS?
> For example, by defining a method in ApplicationController. Is there
> something already done for it?
> I just want to log the logged user (Devise)m the access data, IP and
> controller/action performed.
>
> Thanks for any suggestion.

Set a before_filter in ApplicationController and it will be called for each 
request, so you can log what you want

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

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