Skip to content

yoda/cream_test_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1). Gemfile add:
    gem 'devise'
    gem 'roles_<orm>'

2). rails g devise:install

3). Add to application.rb
    config.action_mailer.default_url_options = { :host => 'localhost:3000' }

4). Generate a default controller
    rails g controller Welcome index

5). rails g devise:views

6). rails g <orm>:devise User
    make sure you add devise_for :users under config/routes.rb

7). Gemfile add:
    gem 'logging_assist'
    gem 'log4r'
    gem 'rails3_artifactor', :git => 'git://github.com/kristianmandrup/rails3_artifactor.git'
    gem 'rails3_assist'
    gem 'r3_plugin_toolbox'
    gem 'devise-links'
    gem 'cancan-permits'
    gem 'cancan-rest-links'
    gem 'sugar-high'

8). rails g permits

9). Add to application.rb
    config.autoload_paths += %W(#{Rails.root}/app/permits)

10). rails g mongoid:roles User --strategy many_roles

11). Rest the same as http://github.com/kristianmandrup/cream-rails3-app

About

Rails3 Application to test cream with mongoid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published