8 lines
194 B
Ruby
8 lines
194 B
Ruby
|
class UserActionRecoder
|
||
|
@queue = :low
|
||
|
def self.perform(user,params)
|
||
|
UserAction.create!(:user=>user,:params=>params,:page=>"#{params['controller']}##{params['action']}")
|
||
|
true
|
||
|
end
|
||
|
|
||
|
end
|