Search Function not working


#1

Search function show the results. It was so error like " ActiveRecord::StatementInvalid in Articles#index"

give me the suggestion.


#2

Hello,

Try to change the highlighted line to:

<% @articles.each do |article| %>

Good luck!