Is searchlogic incompatible with error_messages?  I am following the
example at http://railscasts.com/episodes/176-searchlogic.  If I add
<%= f.error_messages %> to the form I get the error below:

 Showing index.html.erb where line #2  raised:

undefined method `errors' for #<Class:0x1035a7a18>

Extracted source (around line #2):

1: <% form_for @search do |f| %>
2: <%= f.error_messages %>

Please help.  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 [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