pct's rails3 template, modified from ihower's and other resources.
$ rails new YourAppName -m https://raw.github.com/pct/rails3-template/master/frontend.rb
$ rails new YourAppName -m https://raw.github.com/pct/rails3-template/master/backend.rb
and the scaffold command::
$ rails g scaffold post title:string content:text
$ rake db:migrate
$ rails new YourAppName -m https://raw.github.com/pct/rails3-template/master/full.rb
and the scaffold command::
$ rails g scaffold backend/post title:string content:text
$ rake db:migrate
** The bad smell is all your MVC file must use backend
prefix **
(rails new MyBlog -m https://raw.github.com/pct/rails3-template/master/full.rb)
- admin add cancan
- admin add CRUD log
- admin change email and password