move defining method for RailsAdmin integration to integrations