Donald, We used acts_as_audited in a project for NIFA, but we made major changes so it might not be useful.
Tola has this on her plate to submit a recipe for the upcoming book "Advanced Rails Recipes", but she has too much on her plate for the next week or so... -Owen On Mar 11, 7:57 pm, Donald Fortin <[email protected]> wrote: > Has anyone had success populating the username in the audits table > using acts_as_audited with a Hobo generated app? > > The manual (on the hobocentral web page) indicates in the Users and > Authentication section "To allow Hobo to properly set current_user, > you must set the :user session variable: session[:user] = > user.typed_id This is typically set when the user logs in. > SessionsController::create is a typical location for this line of > code. > > Maybe I am missing something but when I generate apps using Hobo 1.0, > I don't get a SessionsController - do I have to create the controller > and add the session[:user] reference? -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
