Skip to content

moscnmoscn/rails-3-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

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

About

a rails template for Rails 3.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages