# Model Accessor Does Not Work Until After Reload?

**URL:** <https://www.ruby-forum.com/t/model-accessor-does-not-work-until-after-reload/165637>\
**Category:** Rails\
**Created:** [April 16, 2009, 12:04am UTC](https://www.ruby-forum.com/t/model-accessor-does-not-work-until-after-reload/165637 "2009-04-16T00:04:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 16, 2009, 12:04am UTC](https://www.ruby-forum.com/t/model-accessor-does-not-work-until-after-reload/165637/1 "2009-04-16T00:04:14Z")

</div>

Anyone have any insight into why this would be happening?

Please see pastie: [http://pastie.org/447786](http://pastie.org/447786)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 16, 2009, 1:18am UTC](https://www.ruby-forum.com/t/model-accessor-does-not-work-until-after-reload/165637/2 "2009-04-16T01:18:32Z")

</div>

This was due to a conflict with the Cj4r plugin not using appropriate  
namespaces for its Product class.

On Apr 15, 2:33 pm, “removed\_email\_address@domain.invalid”
