"Params finder": params => model objects
authorChristian Johansen <christian@gitorious.com>
Tue, 15 Oct 2013 09:17:26 +0000 (11:17 +0200)
committerChristian Johansen <christian@gitorious.com>
Tue, 15 Oct 2013 09:17:26 +0000 (11:17 +0200)
commitd213fc0d477bbc1510fd6a4c09f42eec434117b9
treebf9b5a212581fd19f4d07bfc0a40f091b50ea905
parentabcba6c8611a7301009b3b3204f209bbb9c14b60
"Params finder": params => model objects

Instead of using filters to load objects from URL parameters, use this
class and associated module to centralize finding logic.
app/controllers/params_model_resolver.rb [new file with mode: 0644]
app/finders/params_finder.rb [new file with mode: 0644]
test/unit/params_finder_test.rb [new file with mode: 0644]