public
Description: This plugin provides a flexible way to add authorization to Rails.
Homepage: http://www.writertopia.com/developers/authorization
Clone URL: git://github.com/DocSavage/rails-authorization-plugin.git
100644 14 lines (8 sloc) 0.553 kb

Instructions for Upgrading

Scroll down to the last time you updated the plugin, then follow the upgrade steps upward till you get back to this message.

25/12/08 - Changes has_and_belongs_to_many to a has_many :through association

  • Copy generators/role_model/templates/role_model.rb to app/models/role.rb
  • Copy generators/role_model/templates/role_user_model.rb to app/models/role_user.rb
  • Open each file and replace the erb code (<%= %>) with the correct model class name below

    role.rb -> Role

    role_user.rb -> RoleUser