added fixes to rails admin. All base functionality working