Topic: Association not working on production server

I'm seeing an odd problem where the methods / attributes for a HABTM association are not showing up. For example, my article model is associated to the topics model with a has_and_belongs_to_many, but calling article.topic_ids yields a 'method undefined' error.

Now here's the strange part: it works just fine on my local development machine, and it works just fine on our development server, which is exactly the same environment (version of rails, gems, etc) as the production machine. Same code, same database, same environment yield different results.

ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-solaris2]
Ruby Enterprise Edition 20090421
Rails 2.3.4

All thoughts / ideas appreciated...

Last edited by mustaffa (2011-06-10 13:48:40)