In the deployment of my Ruby app in Site5 hosting, I found that all the calls to the paginate function that have the :nclude option produce an error For example: @episode_pages, @episodes = paginate :pod_updates, :order => 'pod_updates.episode_date DESC', :per_page => 10, :include => :podcast If i remove the :include part, it works just fine but I need to make tht join for the app to work properly. Somebody has an idea of what could be haappening?
on 2007-04-09 17:11
on 2007-04-09 17:12
I forgot to mention that this call works perfect in my local development site
on 2007-04-09 17:20
I believe Site5 is on Ruby 1.8.4 and Rails 1.1.6. Perhaps the :include option was added in Rails 1.2? Are you freezing Rails before deploying?
on 2007-04-11 15:18
It was something related to syntax and the version of rails, already fixed it! Thanks for the advice Mike, I'm freezing it right now