padrino/padrino-framework — Issue #786: Reloader Defaults All Routes to 404
Author: Wardrop
Created: 2012-02-11 06:23:48+00:00
State: open

When I make a change that requires a full app reload, all of my routes stop working and return 404's.

Here's a log of the reload operation: https://gist.github.com/1797102

Here's what my route looks like (app/controllers/reservation.rb): https://gist.github.com/1797100

Does anyone know what's happening. The log looks like it's done everything correctly?

This issue comes after I just worked around another reload issue. It seems padrino doesn't like it when you use #require_relative in files that are auto-reloaded, especially when the #require_relative references a file that's also automatically reloaded. Anyway, this issue is less blocking than the one I face now.