On 16 June 2010 14:46, webdevotion <[email protected]> wrote: > Hey > > We have a problem with our Projects controller. > Where we want to select all the projects with status set to true we > use: > > p = Project.where(:status => true) > > It works locally, but it doesn't work on the Heroku instance. > > Are you running postgresql locally?
> Does work, but not agnostic > p = Project.where(:status => '1') > > What's the best practice to solve this ( little ) problem? > > Cheers, Ben -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
