# Editing a plugin

**URL:** <https://www.ruby-forum.com/t/editing-a-plugin/87770>\
**Category:** Rails\
**Created:** [March 5, 2007, 9:43pm UTC](https://www.ruby-forum.com/t/editing-a-plugin/87770 "2007-03-05T21:43:53Z")\
**Posts on this page:** 5\
**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:** [March 5, 2007, 9:43pm UTC](https://www.ruby-forum.com/t/editing-a-plugin/87770/1 "2007-03-05T21:43:53Z")

</div>

Hi,

I am trying to change a method in the acts\_as\_taggable\_on\_steroids  
plugin. What I am not sure about is why when I change something it  
does not seem to register in the behavior of my development app, not  
even if I restart the server or delete large chunks of code.

Any ideas as to how I can get it to register ??

Thanks,

David.

---

<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:** [March 5, 2007, 9:53pm UTC](https://www.ruby-forum.com/t/editing-a-plugin/87770/2 "2007-03-05T21:53:55Z")

</div>

Dave M wrote:

> I am trying to change a method in the acts\_as\_taggable\_on\_steroids  
> plugin. What I am not sure about is why when I change something it  
> does not seem to register in the behavior of my development app, not  
> even if I restart the server or delete large chunks of code.

What server?

–  
Phlip  
[http://c2.com/cgi/wiki?ZeekLand](http://c2.com/cgi/wiki?ZeekLand) ← NOT a blog!!

---

<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:** [March 5, 2007, 9:59pm UTC](https://www.ruby-forum.com/t/editing-a-plugin/87770/3 "2007-03-05T21:59:56Z")

</div>

Mongrel.

---

<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:** [March 7, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/editing-a-plugin/87770/4 "2007-03-07T14:01:22Z")

</div>

David,

> I figured it out, I have to restart my terminal app and not just the  
> server for the changes to take effect.

If by “terminal app” you mean the Rails console, then you can just use  
“reload!”. You can even put everything on the same line as the main  
command:

./script/console  
…  
\> reload! ; Foo.bar(…)

That way, you can jump between the editor and the console.

Alain

---

<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:** [March 6, 2007, 4:57pm UTC](https://www.ruby-forum.com/t/editing-a-plugin/87770/5 "2007-03-06T16:57:35Z")

</div>

I figured it out, I have to restart my terminal app and not just the  
server for the changes to take effect.

David.
