Nested routes error

Hello everyone,

I have a problem using nested routes when creating a nested object.

I use

map.resource :simulation_process,
:has_many => :simulations

Everything works fine except with this

<% form_for [@simulation_process, @simulation] do |simulation_form| %>

that generates a route like this…

/simulation_process/simulations.%23%3Csimulationprocess:0x2aaaae4e8bc0%3E

Anybody knows why??