Hey guys I ran into a very strange problem today and for the life of
me I can't make heads or tails of it.
My rails app will seemingly spontaneously start writing broken URLs
into the links, forms etc. For example.
I have the following route
namespace :search do
get "/" , :to => :index
get :test
post :test
post :results
get :results
end
The search form is defined like this
form_tag(search_results_path, :class => 'search') do
When the app launches this points to /search/results as expected but
after a while if you reload the page the application points the page
to / :search / :results
If I touch restart.txt everything is fine again for a little while. It
seems to effects different routes at random times. Some routes are OK
and others are not. Then other routes go bad.
I am running passenger so I am thinking maybe to passenger is
reloading the app and somehow rails is getting confused. Has anybody
ran into anything like this?
Rails 3.2.7, REE, Ubuntu server.
Cheers.
--
You received this message because you are subscribed to the Google Groups
"WellRailed" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/wellrailed?hl=en.