deprecation of conditions in has_many Rails 4