diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-07-17 11:26:59 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-07-17 11:26:59 -0700 |
commit | 932386be8a9c0f60c7bb078261c5433aeccb3284 (patch) | |
tree | 61266f97397030d54325656523b7f6145cfb0679 /activemodel/test/models/visitor.rb | |
parent | 212057b912627b9c4056f911a43c83b18ae3ab34 (diff) | |
download | rails-932386be8a9c0f60c7bb078261c5433aeccb3284.tar.gz rails-932386be8a9c0f60c7bb078261c5433aeccb3284.tar.bz2 rails-932386be8a9c0f60c7bb078261c5433aeccb3284.zip |
`recall` should be `path_parameters`, also make it required
"recall" is a terrible name. This variable contains the parameters that
we got from the path (e.g. for "/posts/1" it has :controller => "posts",
:id => "1"). Since it contains the parameters we got from the path,
"path_parameters" is a better name. We always pass path_parameters to
`generate`, so lets make it required.
Diffstat (limited to 'activemodel/test/models/visitor.rb')
0 files changed, 0 insertions, 0 deletions