Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
我对 Rails 默认模板的定制,下载放进 项目的 lib 目录
branch: master

This branch is 3 commits behind huacnlee:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
rails/generators/erb/scaffold
templates
README.rdoc

README.rdoc

这个是我对 Rails 默认模板的定制,模板乃是个人喜好,不一定适合你,仅供查考。

如果你想试试,那么下载,并将他们放进你 Rails 项目的 lib 目录,如:homeland/lib

然后使用

rails g scaffold Post title:string category_id:integer body:text
rails g scaffold admin/posts title:string category_id:integer body:text

来生成试试。

这个需要 wice_gridsimple_form 这两个 Rails 插件。

Something went wrong with that request. Please try again.