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

[ci skip] #21088

Merged
merged 1 commit into from
Aug 1, 2015
Merged

[ci skip] #21088

merged 1 commit into from
Aug 1, 2015

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Aug 1, 2015

Add descriptions about ActiveRecord::Base#to_param to

  • ActionDispatch::Routing::Base#match
  • Overriding Named Route Parameters (guide)

When passes :param to route definision, always to_param method of
related model is overridden to constructe an URL by passing these
model instance to named_helper.

Add descriptions about `ActiveRecord::Base#to_param` to

* `ActionDispatch::Routing::Base#match`
* Overriding Named Route Parameters (guide)

When passes `:param` to route definision, always `to_param` method of
related model is overridden to constructe an URL by passing these
model instance to named_helper.
@schneems
Copy link
Member

schneems commented Aug 1, 2015

Thanks ❤️

schneems added a commit that referenced this pull request Aug 1, 2015
@schneems schneems merged commit c7a9f57 into rails:master Aug 1, 2015
@yui-knk
Copy link
Contributor Author

yui-knk commented Aug 1, 2015

thanks merge!

@yui-knk yui-knk deleted the doc/to_param branch August 17, 2017 07:04
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