2010/5/21 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>:
> 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

Ops. exactly what I looked for!
Thanks.


-- 
Iñaki Baz Castillo
<[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