Skip to content
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

Meaningful errors for unexpected partial arguments. Fixes #3573 #3695

Merged
merged 1 commit into from Nov 19, 2011
Merged

Meaningful errors for unexpected partial arguments. Fixes #3573 #3695

merged 1 commit into from Nov 19, 2011

Conversation

endofunky
Copy link
Contributor

GitHub issue #3573

I've wrapped the whole thing into an if block so it wont raise the error AND issue the deprecation warning, which would be confusing. This can obviously be refactored nicely once support for objects whose classes return a #model_name that responds to #partial_path will be dropped.

wycats added a commit that referenced this pull request Nov 19, 2011
Meaningful errors for unexpected partial arguments. Fixes #3573
@wycats wycats merged commit bc04455 into rails:master Nov 19, 2011
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.

None yet

2 participants