fixed undefined method empty? for rails_admin