# How to override plugin method?

**URL:** <https://www.ruby-forum.com/t/how-to-override-plugin-method/128682>\
**Category:** Rails\
**Created:** [February 10, 2008, 12:22pm UTC](https://www.ruby-forum.com/t/how-to-override-plugin-method/128682 "2008-02-10T12:22:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mamatux](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mamatux](https://www.ruby-forum.com/u/mamatux)\
**Post date:** [February 10, 2008, 12:22pm UTC](https://www.ruby-forum.com/t/how-to-override-plugin-method/128682/1 "2008-02-10T12:22:32Z")

</div>

Hello,

I have made a change to a method in the jrails plugin.  
Now it would be a lot easier if I could make this change in a seperate  
file in my lib directory being able to deploy the change to my  
production server using capistrano.  
But I cannot figure out how to override this method.

Any howto’s on this?

Greetings,  
Gitte W.
