get rails user and group from railsapp class