Can't view or edit existing users on staging. It's just a blank page.
On dev, I can see the error:
Showing /home/rgratzer/.rvm/gems/ruby-2.1.2/gems/rails_admin-0.8.1/app/views/rails_admin/main/index.html.haml where line #99 raised:
undefined method `last_login_at' for #
If you want to use a RailsAdmin virtual field(= a field without corresponding instance method),
you should declare 'formatted_value' in the field definition.
field :last_login_at do
formatted_value{ bindings[:object].call_some_method }
end
Can't view or edit existing users on staging. It's just a blank page.
On dev, I can see the error:
Showing /home/rgratzer/.rvm/gems/ruby-2.1.2/gems/rails_admin-0.8.1/app/views/rails_admin/main/index.html.haml where line #99 raised:
undefined method `last_login_at' for #
If you want to use a RailsAdmin virtual field(= a field without corresponding instance method),
you should declare 'formatted_value' in the field definition.
field :last_login_at do
formatted_value{ bindings[:object].call_some_method }
end
` - if @other_left_link ||= other_left && index_path(params.except('set').merge(params[:set].to_i != 1 ? {set: (params[:set].to_i - 1)} : {})) %td.other.left= link_to "...", @other_left_link, class: 'pjax'
Jesus, can't format this. Here's a screenshot.