How to remove error in Rails?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
16 views
Code:
<%= form_for @post do |f| %> <%= f.label :title %> <%= f.text_field :title %> <%= f.label :summary %> <%= f.text_area :summary %> <%= f.label :body %> <%= f.text_area :body %> <%= f.sumbit 'Save' %> <% end %>

Error:
5aeef0e645f00236587096.png
by | 16 views

1 Answer

0 like 0 dislike
submit
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users