scaffolding broken in Rails 2.1.0

Alex Birkett
Tue, 17 Jun 2008 11:28:02 -0000

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:



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