Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[wip] the most naive solution for #1118#1119

Open
cs3b wants to merge 1 commit into
JSONAPI-Resources:masterJSONAPI-Resources/jsonapi-resources:masterfrom
cs3b:patch-1cs3b/jsonapi-resources:patch-1Copy head branch name to clipboard
Open

[wip] the most naive solution for #1118#1119
cs3b wants to merge 1 commit into
JSONAPI-Resources:masterJSONAPI-Resources/jsonapi-resources:masterfrom
cs3b:patch-1cs3b/jsonapi-resources:patch-1Copy head branch name to clipboard

Conversation

@cs3b
Copy link
Copy Markdown

@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.