Rails 3 Base APP
Pull request Compare This branch is even with kristianmandrup:master.
Latest commit 8c20826 Apr 12, 2010 @carlsverre carlsverre Ooops merge artifacts
Permalink
Failed to load latest commit information.
app Added rudimentary permissions (aegis) and updated readme Mar 25, 2010
config
db Starting over Mar 19, 2010
devise Updated to devise pre4 Mar 25, 2010
doc Starting over Mar 19, 2010
lib/tasks Starting over Mar 19, 2010
public Rails 3 beta 2 app files updated Apr 12, 2010
script
test Finished rails 3 reset Apr 12, 2010
vendor/plugins Building Base package Mar 25, 2010
.gitignore Moving to rails 3 Mar 13, 2010
Gemfile Ooops merge artifacts Apr 12, 2010
Rakefile Starting over Mar 19, 2010
config.ru Finished rails 3 reset Apr 12, 2010
readme.md Added rudimentary permissions (aegis) and updated readme Mar 25, 2010
todo

readme.md

Setup

note: whenever you change Gemfile run bundle install

@ Devise installed for authentication, no models created
  + to setup:
    - edit /config/initializers/devise.rb
    - rails generate devise ModelName
  + to remove:
    - rails destroy devise_views
    - rails destroy devise_install
    - then remove devise and warden from the Gemfile
@ Aegis installed for permissions
  + to setup:
    - edit /app/models/permissions.rb to add/remove permissions
    - add a string column named "role_name" to all your models which
      need permissions
    - call the method "has_role" at the top level of all your models
      needing permissions
  + to remove:
    - rails destory model Permissions
    - remove aegis from Gemfile
@ Uses compass with the 960 plugin
  + to setup:
    - already done, modify sass files in app/stylesheets
  + to remove:
    - remove all the compass folders/files and the reference in
      Gemfile
@ Uses my rails3 compliant fork of asset_packager
  + to setup:
    - ensure that all your stylesheets/js files are referenced in
      /config/asset_packages.yml
  + to remove:
    - rails plugin remove asset_packager
    - remove config/asset_packages.yml