I noticed this when I tried adding high_voltage to a edge rails app:
A route defined with #match will raise a error message in edge rails if you haven't specified :via => :get or similair for that route. I changed the route setup to use get instead as (I guess) that is the only HTTP method that you want to use for static pages.
:via => :get
See this commit on rails for more info on the error:
I didn't add any tests for this as I am unsure how to go about on those. All the current tests pass now. If I add a Gemfile that uses edge rails I guess the tests for ruby versions < 1.9.3 will break when that Gemfile is used?
Let me know what you think, maybe this change should be saved until rails 4 is released?
Expose pages#show route as GET
* For rails 4 compatibility (#match will raise a warning)
See this commit on rails for more info:
@arvida good catch. Will get this into master for next release