How does each model object (pages, snippets, etc) get associ

Sorry…probably showing my nuby…ness, but I cannot seem to see how
the model objects get associated with the user object?

I am trying to create a new model object and want it to have the
updated_at, updated_by attributes like the other model objects.

thanks for the help…

jsmorris wrote:

Sorry…probably showing my nuby…ness, but I cannot seem to see how
the model objects get associated with the user object?

I am trying to create a new model object and want it to have the
updated_at, updated_by attributes like the other model objects.

thanks for the help…

It’s done with the user action observer:

http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/user_action_observer.rb


John L.
http://wiseheartdesign.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs