diff options
author | yui-knk <spiketeika@gmail.com> | 2015-08-01 23:08:53 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-08-01 23:08:53 +0900 |
commit | 2ea95a522a058183c27552d78722ed52716b3b13 (patch) | |
tree | 55656812e5103756eb3060e3948d7e5ba3a6da26 /actionview/test/template/record_identifier_test.rb | |
parent | d1cdf52db608ad53b676581f9482e100d4be35bd (diff) | |
download | rails-2ea95a522a058183c27552d78722ed52716b3b13.tar.gz rails-2ea95a522a058183c27552d78722ed52716b3b13.tar.bz2 rails-2ea95a522a058183c27552d78722ed52716b3b13.zip |
[ci skip]
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.
Diffstat (limited to 'actionview/test/template/record_identifier_test.rb')
0 files changed, 0 insertions, 0 deletions