table_for
table_for copied to clipboard
undefined method `safe_append=' for nil:NilClass
The following is my code, and Im using table_for_collection 1.0.7
with ruby 2.1.1
<%= table_for @reports do -%>
<% columns :category %>
<% end %>
Any pointers?
Hello!
Thank you for reporting. I assume you are using it with rails. Could you specify rails version you have?
yes, Rails. 4.1.0
it is.
could you please provide extended backtrace
Has this been fixed? I'm having the same issue with Ruby 2.1.4 and Rails 4.1.7
This occurs often, for example when you have an empty line inside the block, or use <%= column
instead of <% column