Skip to content

Conversation

cs3b
Copy link

@cs3b cs3b commented Sep 22, 2017

allow to pass controller option when defining has_many, or has_one relation

e.g.

  has_many :kudos_given, class_name: 'Mm::Kudo', controller: 'mm/kudos'

It is working, still not test provided, as I do not now what would the desired implementation for the solution.

allow to pass controller option when defining has_many relation

e.g.
```` ruby
  has_many :kudos_given, class_name: 'Mm::Kudo', controller: 'mm/kudos'
````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant