On Sat, May 15, 2010 at 12:28 AM, Manish Nautiyal <li...@ruby-forum.com> 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 ------------------------ hassan.schroe...@gmail.com
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to