# Reload! not working

**URL:** <https://www.ruby-forum.com/t/reload-not-working/194464>\
**Category:** Rails\
**Created:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/reload-not-working/194464 "2010-09-06T16:39:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![badnaam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e36b37/32.png) [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Post date:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/reload-not-working/194464/1 "2010-09-06T16:39:34Z")

</div>

Not sure what happened but all of a sudden reload! stopped loading  
updated model classes in irb. Anyone seen this?

---

<div class="post-metadata">

**Author:** ![badnaam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e36b37/32.png) [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Post date:** [September 6, 2010, 4:43pm UTC](https://www.ruby-forum.com/t/reload-not-working/194464/2 "2010-09-06T16:43:29Z")

</div>

This is only happening for one model only!

Here is the model.

If I exit the console then start it again the model updates load just  
fine.

---

<div class="post-metadata">

**Author:** ![badnaam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e36b37/32.png) [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Post date:** [September 6, 2010, 4:44pm UTC](https://www.ruby-forum.com/t/reload-not-working/194464/3 "2010-09-06T16:44:09Z")

</div>

Nevermind turns out my model classname was same as the class name of a  
plugin. Wonder why reload! always returned true, never complained or  
gave a clue

---

<div class="post-metadata">

**Author:** ![badnaam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e36b37/32.png) [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Post date:** [September 6, 2010, 4:52pm UTC](https://www.ruby-forum.com/t/reload-not-working/194464/4 "2010-09-06T16:52:23Z")

</div>

On Sep 6, 7:28 am, badnaam [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Nevermind turns out my model classname was same as the class name of a  
> plugin. Wonder why reload! always returned true, never complained or  
> gave a clue

At the point that the plugin was loaded, that class was probably  
marked as non reloadable, as plugins usually aren’t. Sounds like the  
class declaration in your app then just added to that non reloadable  
class rather than creating a new one.

Fred
