Friday, September 14, 2012

[Rails] Routing error.

Hi all,
In my Rails app there is a code in which I have passed the two object to the nested url like this
  u_w_path(u, v)

Now the thing is, It is working fine before but suddenly I am getting a routing error because of the object "u" cannot be converted to id(automatically).

It says No route matches {:action=>"show", :controller=>"v", :id=>#<U:0xaf1f734 "..................}
I have no idea what went wrong with the apps. Please suggest me solutions.

Regards,
Mukesh

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/2kJYYlrVDAEJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate