added ability to work with ActiveAdmin belongs_to routes, fixed commit variable name error