ActiveRecord::StatementInvalid (PGError: ERRO:

0 views
Skip to first unread message

Bráulio

unread,
Aug 26, 2009, 7:00:53 AM8/26/09
to Ruby on Rails: Goldberg
Hi all,
I,ve been migrate my app to Rails 2.3.2 and receive the follow error
in production mode using passenger or mongrel:

ActiveRecord::StatementInvalid (PGError: ERRO: relation "nfes" not
exist
: SELECT * FROM nfes WHERE (nota_finalizada = false) ):
app/models/nfe.rb:32:in `search'
app/controllers/nfes_controller.rb:20:in `pesquisa'

Rendering /var/www/hemo_production/public/500.html (500 Internal
Server Error)


Help me!!
Thanks

Bráulio Lima.
Reply all
Reply to author
Forward
0 new messages