[Rails] mangled database record ids

Mary Cook maryrosecook at gmail.com
Sun Jan 1 15:58:49 GMT 2006


Thanks for your help! After rather a lot of fiddling, I managed to
install the latest version of rails, and now the problem is solved.

Thanks again,

Mary

On 30/12/05, Benjamin Stiglitz <ben at tanjero.com> wrote:
> > I've been going through the excellent tutorial in Agile Web
> > Development With Rails, and hit a bit of a snag.  After doing the
> > 'pretty listings' functionality for the Admin controller, attempting
> > to click 'Show' next to a product produces an error: 'Couldn't find
> > Product with ID=#<Product:0x276180c>'
>
> It sounds like you're using an older version of Rails that doesn't
> automatically pick the id out of models assigned to the :id field in
> a route. What does `gem search rails` report?
>
> -Ben
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


More information about the Rails mailing list