Searchlogic incompatible with error_messages

Is searchlogic incompatible with error_messages? I am following the
example at 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs