table_for icon indicating copy to clipboard operation
table_for copied to clipboard

undefined method `safe_append=' for nil:NilClass

Open alagunambi opened this issue 10 years ago • 5 comments

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?

alagunambi avatar Jul 24 '14 07:07 alagunambi

Hello!

Thank you for reporting. I assume you are using it with rails. Could you specify rails version you have?

e1senh0rn avatar Jul 24 '14 16:07 e1senh0rn

yes, Rails. 4.1.0 it is.

alagunambi avatar Jul 24 '14 16:07 alagunambi

could you please provide extended backtrace

lunich avatar Jul 24 '14 16:07 lunich

Has this been fixed? I'm having the same issue with Ruby 2.1.4 and Rails 4.1.7

mdxprograms avatar Nov 17 '14 18:11 mdxprograms

This occurs often, for example when you have an empty line inside the block, or use <%= column instead of <% column

lafeber avatar Oct 20 '16 06:10 lafeber