Fix ActiveRecord::__call add retrieveby