Re: scaffolding broken in Rails 2.1.0

Oscar Del Ben
Tue, 17 Jun 2008 12:35:17 -0000

Please use the version of rails that is used in the book

2008/6/17, Alex Birkett
<alex-M1GPVoo2akUqdlJmJB21zg@public.gmane.org>:
>
>
> Hi,
>
> I trying to follow the tutorial in Agile Web Development with Rails
> Second Ed using Rails 2.1.0. So far I''ve overcome problems with
> missing scaffolding, missing classic_pagination, missing svn (required
> to install classic_pagination and no error messages about ) and
> default not being supported by MySQL in migrations.
>
> The latest problem appears to be a bug in the scaffolding.
>
> The http://localhost:3000/admin/new action churns out a form with a
> broken action url e.g:
>
> <form method="post"
action="/admin/%2Fadmin%2Fcreate">
>
> If you hack the html with firebug to this:
>
>
>
> It works fine.
>
> There appears to be a post about this in Korean here.
> http://forum.rubykr.org/viewtopic.php?t=6560 but I can''t
understand
> it.
>
> Does anybody know how to fix this?
>
> Thanks,
>
> Alex
>
> >