Change has_many for Rails 4