ITeye博客

安装beast论坛

boyjunqiang · 2008-06-20 01:58 · Markdown

beast 1.0 stable #参看http://beast.caboo.se/forums/1/topics/4642

注意要删除plugins下的exception_logger然后运行

script/plugin install http://svn.techno-weenie.net/projects/plugins/exception_logger/ --force

不然就会报诡异的 undefined method `template_root=’ for LoggedExceptionsController:Class

然后还要安装acts_as_list ruby script/plugin install acts_as_list #参考 http://beast.caboo.se/posts/search?q=template_root

#参考 http://beast.caboo.se/forums/1/topics/4630 把line 24 of /app/view/layouts/application.rhtml行的all_search_posts_path 改为 search_all_posts_path <% form_tag search_all_posts_path, :method => 'get' do -%>

安装classic_pagination script/plugin install svn://errtheblog.com/svn/plugins/classic_pagination

为了国际化: 在environment.rb最下方加如下语句 Gibberish.current_language = :cn 在工程根lang目录下添加cn.yml并翻译

评论(1)

  1. #1 楼 · carlosbdw · 2008-06-20 04:23

    1,#config.active_record.whiny_protected_attributes = false

    2,require_gem ->gem

    3,rake db:schema:load

评论功能维护中,当前仅展示历史评论。