Add set_alias_attributes to allow ActiveRecord queries with aliases