# How can I override a partial from a plugin? where does "render" look for partials?

**URL:** <https://www.ruby-forum.com/t/how-can-i-override-a-partial-from-a-plugin-where-does-render-look-for-partials/149264>\
**Category:** Rails\
**Created:** [September 23, 2008, 3:14am UTC](https://www.ruby-forum.com/t/how-can-i-override-a-partial-from-a-plugin-where-does-render-look-for-partials/149264 "2008-09-23T03:14:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [September 23, 2008, 3:14am UTC](https://www.ruby-forum.com/t/how-can-i-override-a-partial-from-a-plugin-where-does-render-look-for-partials/149264/1 "2008-09-23T03:14:19Z")

</div>

Hi,

I’d like to override a particular partial from a plugin. In fact what  
I’d really like to do is somehow “alias” it so I can effectively add  
to the HTML that the partial creates. So I’d like to effectively do  
something like create a bare partial in my own /apps/helpers  
directory, the equivalent of alias out the plugin partial \*.rhtml,  
then call this but then ADD some extra HTML to the result. This way I  
can still do plugin upgrades without having to worry about breaking my  
override.

Any suggestions on how to do this?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [September 23, 2008, 2:22pm UTC](https://www.ruby-forum.com/t/how-can-i-override-a-partial-from-a-plugin-where-does-render-look-for-partials/149264/2 "2008-09-23T14:22:12Z")

</div>

PS. If this is just not possible, I’d be keen to hear about this  
too…thanks

On Tue, Sep 23, 2008 at 11:13 AM, Greg H.
