With this in routes.rb
match '*not_found', :to => 'errors#error_404'
You get 404's when trying to add a player. But with this commented out, it works fine. Is this precluding the engines from getting a change to have their routes evaluated?
And what is the impact of having "consider_all_requests_local" turned on? Certainly you wouldn't want that in production...?
If my dev environment is any indication, this is a production-only problem.
@mfrederickson, that's exactly right - consider_all_requests_local is ancient rails holdover that basically determines who will get detailed stack traces on errors instead of the public-facing application error handling. If you look in config/environments, you'll see it's disabled when you boot in production mode - which is probably why this problem went undetected until now.
Unfortunately, removing these lines as it stands breaks some 404 handling. There are better ways to handle the 404s though. I should have a commit soon.
Fix plugin routing - temporary workaround for #893
This allow plugins to be routable in production mode, rather than
getting 404s. It is not a permanent solution, however, because 404
and 500 handling is poor.
Since everything seems to be in working order, I'm closing this out. Anyone can reopen if this continues to happen, but unless there is a major regression I think plugin routing should be A-OK.
Further error handling improvements will be tracked in #897.