在设计资源上使用 Active Scaffold,使用 devise-invitatible 后出现错误
NameError in Admin/users#index
Showing /home/user/.rvm/gems/ruby-1.9.3-p286/gems/active_scaffold-3.2.16/frontends/default/views/_list_record_columns.html.erb where line #6 raised:
uninitialized constant User::InvitedBy
Extracted source (around line #6):
3: <% column_value = authorized ? get_column_value(record, column) : active_scaffold_config.list.empty_field_text -%>
4:
5: <%= content_tag :td, column_attributes(column, record).merge(:class => column_class(column, column_value, record)) do %>
6: <%= authorized ? render_list_column(column_value, column, record) : column_value %>
7: <% end %>
8: <% end -%>