Problem w/ routing constraints
I am having a strange problem w/ rails 3 routing constraints. I have this custom class w/ a self.matches? method as such:
Rails.logger.info("self.matches? NEVER CALLED!!!!")
and in routes I use the custom Class like this:
The self.matches?(request) method never gets called and I don't understand why?
Rails.logger.info("constraints block ENTERED")
root :to => "projects#show"