sferik/rails_admin — Issue #780: Gte access to current_user from any Model
Author: jorgeramos
Created: 2011-10-16 21:37:24+00:00
State: open

Can somebody please advise what's the best approach for reading the current_user from a Model? I need to run an after_create filter to generate an invoice for the current_user's company. I was able to see the _current_user method but it seems to be locked for use within the RailsAdmin engine only. Please advise...