Skip to content

Fix N+1 issue with show multiple action - slight changes #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 11, 2014
Merged

Conversation

lgebhardt
Copy link
Member

Makes a few changes to @sineed's pull request.

Renamed the get_resources to find_by_keys to be consistent, and moved the special logic to handle requests for a single id as a single resource into the controller.

sineed and others added 2 commits November 7, 2014 12:04
moved logic to handle single resources to controller
brought context up to current options useage
dgeb added a commit that referenced this pull request Nov 11, 2014
Fix N+1 issue with show multiple action - slight changes
@dgeb dgeb merged commit d8b39c3 into master Nov 11, 2014
@dgeb
Copy link
Member

dgeb commented Nov 11, 2014

Looks good to me! :shipit:

@lgebhardt lgebhardt deleted the pr/35 branch November 11, 2014 01:47
@sineed
Copy link
Contributor

sineed commented Nov 11, 2014

+1

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.

3 participants