Hi Colin,

I did it(roll back to last working commit) but the problem still persisted.
No clue why it is behaving like this.

Regards,
Mukesh


On Fri, Sep 14, 2012 at 8:23 PM, Colin Law <clan...@googlemail.com> wrote:

> On 14 September 2012 15:00, Mukesh yadav <ashu.33...@gmail.com> wrote:
> > 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.
>
> Have you got u and v the right way round in the call?
>
> Do lines of code that used to work no longer work or is it just new
> lines of code that fail?
>
> If lines of code that used to work no longer work then roll back in
> your source control system (git or whatever) till you get to a point
> where they work and then see what you changed to make it fail.
>
> If you still can't get it working post the code that is failing, the
> full error message, routes.rb, and the result of running rake routes.
>
> Colin
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to