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

**URL:** <https://www.ruby-forum.com/t/how-does-each-model-object-pages-snippets-etc-get-associ/101836>\
**Category:** Radiant CMS\
**Created:** [August 8, 2006, 9:17am UTC](https://www.ruby-forum.com/t/how-does-each-model-object-pages-snippets-etc-get-associ/101836 "2006-08-08T09:17:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsmorris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jsmorris](https://www.ruby-forum.com/u/jsmorris)\
**Post date:** [August 8, 2006, 9:17am UTC](https://www.ruby-forum.com/t/how-does-each-model-object-pages-snippets-etc-get-associ/101836/1 "2006-08-08T09:17:03Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![jsmorris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jsmorris](https://www.ruby-forum.com/u/jsmorris)\
**Post date:** [August 8, 2006, 7:03pm UTC](https://www.ruby-forum.com/t/how-does-each-model-object-pages-snippets-etc-get-associ/101836/2 "2006-08-08T19:03:20Z")

</div>

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](http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/user_action_observer.rb)

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)
