/rails-3-template

a rails template for Rails 3.0

Primary LanguageRuby

Devise template

This template is based on Rails 3 and apply some features :

  • You can choose which ORM (mysql or mongoid) you want.

  • Add Gems/Plguins support:

    • Devise (user management)

    • carrierwave(upload files)

    • minimagick(handle images)

    • haml& sass

    • will_paginate

  • Substitute Prototype with jQuery.

  • Add i18n support for zh-CN.

Usage:

  1. If you like using mysql:

rails new app_name -d mysql -m http://github.com/moscn/rails-3-template/raw/master/devise_template.rb
  1. If you choose mongoid:

rails new app_name -m http://github.com/moscn/rails-3-template/raw/master/devise_template.rb
  1. When this command finished, you should customize your devise configuration follow these steps

(refer to: wiki.github.com/fortuity/rails3-mongoid-devise/tutorial-walkthrough)

if you want rewrite this template you can refer: 1.asciicasts.com/episodes/148-app-templates-in-rails-2-3