Hello there,

On my site I have a basic search form that uses find_by_ferret which
will return users within the site and render the data that matches the
search criteria

If multiple rows are returned, the rows are rendered, and then
paginated, if more that X are returned. Sounds simple, (and worked
fine in dev)

However, In Production, I get a server(500) error: (We're sorry, but
something went wrong.

We've been notified about this issue and we'll take a look at it
shortly.)

When I look in the production.log the following is returned:

ActionView::TemplateError (undefined method `will_paginate' for
#<ActionView::Base:0xb5c6dc24>) on line #26 of app/views/buddies/
_search_form.rhtml:
23:
24: Your search results are below: <br /> <br />
25:
26: <%= will_paginate @buddies %>
27: <% end %>
28: <%= render :partial=>"result_summary" %>
29: <% end %>


although I understand the error, I dont get how it worked in dev, and
not in prod...

Any ideas?

Many, many Thanks

--

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