Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (8 sloc) 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