Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Latest commit

 

History

History
13 lines (8 loc) · 553 Bytes

UPGRADE.rdoc

File metadata and controls

13 lines (8 loc) · 553 Bytes

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