# Hooks on ror?

**URL:** <https://www.ruby-forum.com/t/hooks-on-ror/154061>\
**Category:** Rails\
**Created:** [November 25, 2008, 12:20am UTC](https://www.ruby-forum.com/t/hooks-on-ror/154061 "2008-11-25T00:20:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ponto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/958977/32.png) [@ponto](https://www.ruby-forum.com/u/ponto)\
**Post date:** [November 25, 2008, 12:20am UTC](https://www.ruby-forum.com/t/hooks-on-ror/154061/1 "2008-11-25T00:20:08Z")

</div>

Hi,  
i am adding functionality to the redmine’s (a ror apps) repository  
feature. changing some of the user interaction workflow.

I’ve modified some of the views and added some js and css.

What i would like to know, is if i can deploy this as a new plugin/  
extension, instead of a patch.  
I believe i would need to create a new plugin that inherits all the  
Repository Controllers and Models, using my modified views. Also i  
think the plugin would need to disable the current Repository feature,  
enabling my own.

Am i right? How should i do this?

ok, i’ve been lurking all day. and i’ve maybe found the solution for  
this.

so, i need a confirmation: this can be accomplished using Hooks?

---

<div class="post-metadata">

**Author:** ![ponto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/958977/32.png) [@ponto](https://www.ruby-forum.com/u/ponto)\
**Post date:** [November 25, 2008, 10:35am UTC](https://www.ruby-forum.com/t/hooks-on-ror/154061/2 "2008-11-25T10:35:07Z")

</div>

On 24 Nov 2008, at 22:08, ponto wrote:

> Am i right? How should i do this?
> 
> ok, i’ve been lurking all day. and i’ve maybe found the solution for  
> this.
> 
> so, i need a confirmation: this can be accomplished using Hooks?

This sounds like a Redmine specific question. You might have better  
luck asking on their forums.

Fred
