sferik/rails_admin — Issue #828: 'bindings' empty in a field visible block?
Author: stiller
Created: 2011-11-11 17:37:52+00:00
State: open

I'm getting the exact result as issue 418.

config.model Customer do
list do
field :comments do
visible do
bindings[:view].current_user.is?(:admin)
end
end
end
end

The result is a nil object. Bindings work fine in formatted_value etc.