On Sat, May 15, 2010 at 12:28 AM, Manish Nautiyal <[email protected]> wrote:

> I am getting this problem when I run this code in server. In my
> localhost everything is running fine. But when I deploy my code in the
> server it shows me the error.

>  def index
>   �...@compet = Competitor.find(:all)   ### GETTING ERROR IN THIS LINE

Are you sure all your migrations have run successfully on the server?
What happens if you open a console and try `Competitor.find(:all)` ?

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to