The REST service expects me as the client app to pass him a URL with a structure like this:
http://localhost:3001/generic_rates?chart=medications&brand_name=advil&dose=9mg&form=tablet
so in the controller he is accessing them like params[:brand_name]
But how I should produce something like this in my view and set it to him? Does Rails have methods that form a URL for us?
rake routes