<p>I'm having a weird problem, where tagging <strong>works fine on my development machine</strong>, but when I deploy to the production server, I get this error in the log:</p>

<pre><code>ActionView::TemplateError (undefined method `tags' for #&lt;Person:0x98bb9d4&gt;) on line...  
</code></pre>

<p>There is an entry in the production.log file that states that has_many_polymorphs is loaded, so it's not like the plugin isn't available on the production machine.</p>

<p>My Google-fu has failed me trying to find the answer, so if anyone knows what could be wrong it would be greatly appreciated!</p>

<p>Edit: I should have mentioned that on both production and development I'm using the same database. I downloaded the production one, and used it on the development machine and it works fine.</p>

```
sp_attach_db
```
(or CREATE DATABASE FOR ATTACH) - don't forget to bring the LDF (log) files, too.