What plugins and gems do you have installed?

On 10/08/2012, at 8:03 PM, Tim Uckun <[email protected]> wrote:

> My rails app spontaneously screws up writing links.  One it screws up
> it stays screwed up until I restart the app then all is normal again
> for a while.
> 
> For example
> 
> I have the following route defined
> 
> namespace :search do
>      get "/" , :to => :index
>      get :test
>      post :test
>      post :results
>      get :results
>  end
> 
> I then use this call to create the form
> 
> form_tag(search_results_path, :class => 'search')
> 
> This works as expected of course but after the app has been running
> for a while all of a sudden it emits this HTML instead of the normal
> one.
> 
> <form accept-charset="UTF-8" action="/ : search : / : results : "
> class="search" method="post">
> 
> Needless to say this doesn't work.
> 
> If I restart the app by touching tmp/restart.txt and reload the page
> it works perfectly.
> 
> I am absolutely baffled by this behavior. It's not limited to this one
> route but it seems to be happing for namespaced routes. I am guessing
> that passenger is recycling the worker somehow and that's causing it
> load teh routes wrong but I can't be sure.
> 
> REE, rails 3.2.7, ubuntu server.
> 
> rake routes | grep search
> 
> search GET    /search(.:format)
>    search#index
> search_test GET    /search/test(.:format)
>          search#test
>  POST   /search/test(.:format)
> search#test
>   search_results POST   /search/results(.:format)
>               search#results
>   GET    /search/results(.:format)
> search#results
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en.

Reply via email to