Editing a plugin

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.

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 <-- NOT a blog!!

Mongrel.

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

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

David.

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