Search Function not working

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

give me the suggestion.

Hello,

Try to change the highlighted line to:

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

Good luck!

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