Mar 12
ActiveScaffold走向Rails2.0
最近的trunk代码显示ActiveScaffold正在开发支持Rails2.0的版本,这里是最近的svn log:
------------------------------------------------------------------------ r736 | edwin.moss | 2008-03-08 12:17:16 +0800 (Sat, 08 Mar 2008) | 1 line Fix template_format ------------------------------------------------------------------------ r735 | edwin.moss | 2008-03-08 11:20:07 +0800 (Sat, 08 Mar 2008) | 1 line OK, eventually, I will remove what needs removing. ------------------------------------------------------------------------ r734 | edwin.moss | 2008-03-08 11:09:46 +0800 (Sat, 08 Mar 2008) | 1 line Oops, missed the r in rhtml. ------------------------------------------------------------------------ r733 | edwin.moss | 2008-03-08 11:06:02 +0800 (Sat, 08 Mar 2008) | 1 line How did that left_handed get in there? ------------------------------------------------------------------------ r732 | edwin.moss | 2008-03-07 08:44:52 +0800 (Fri, 07 Mar 2008) | 1 line Adopting Rails 2.0 - the beginning. ------------------------------------------------------------------------ r728 | rrwhite | 2008-02-25 10:22:10 +0800 (Mon, 25 Feb 2008) | 1 line Moved the asset copying code out of install.rb and install_assets.rb. That way I could have init.rb call install_assets.rb every time the server is started with out compromising the intent of install.rb (only run once). I also add an install counter to install.rb that "phones home" using a GET request so we can keep tra ck of SVN installs. Feel free to edit my copy in install.rb that explains to the developer what and why we're doing with the install counter. ------------------------------------------------------------------------
所以,如果你想在Rails2.0的环境下使用ActiveScaffold,请跟踪trunk上的最新版本:
svn checkout http://activescaffold.googlecode.com/svn/trunk/ activescaffold
如果你像我一样还是留在Rails1.2系列版本中,可以:
svn checkout -r728 http://activescaffold.googlecode.com/svn/trunk/ activescaffold
或者,如果你使用svn:externals属性的话:
svn propedit svn:externals vendor/plugins
activescaffold -r728 http://activescaffold.googlecode.com/svn/trunk/
目前我们的工作,包括中文化、安装包和其他扩展程序,都没有在支持Rails2.0的版本中测试过,请谨慎使用。也欢迎你帮助我们做Rails2.0支持度的测试,谢谢。

03月 18th, 2008 at 11:20 pm
到今天为止的最新版(r737)存在这个问题:ajax create/update等action会报500错。需要这样解决:将/frontends/default/views/目录中所有的.rjs.erb文件,改名为.rjs文件。