Forum: Rails deployment Problem con :include with pagination in Site5

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B8b2e7f375c294d8f3233fd5b3ee4e30?d=identicon&s=25 infelix (Guest)
on 2007-04-09 17:11
(Received via mailing list)
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?
B8b2e7f375c294d8f3233fd5b3ee4e30?d=identicon&s=25 infelix (Guest)
on 2007-04-09 17:12
(Received via mailing list)
I forgot to mention that this call works perfect in my local
development site
D91500918a07bfae5b38b8943fd42fbe?d=identicon&s=25 Mike Moore (Guest)
on 2007-04-09 17:20
(Received via mailing list)
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?
B8b2e7f375c294d8f3233fd5b3ee4e30?d=identicon&s=25 infelix (Guest)
on 2007-04-11 15:18
(Received via mailing list)
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
This topic is locked and can not be replied to.