i have this on my view:
<%= link_to "shirts", things_path (:scope => "shirts" ) %>
this on my controller
@products = Product.send(params[:scope])
however i would like to use chained scopes such as:
<%= link_to "shirts", products_path (:scope => "shirts.blue" ) %>
but for some reason that doesnt work.
Probably my syntax is wrong?
Try this
Model