2012-04-16 11:57:33 +00:00
|
|
|
class Role < ApplicationModel
|
2012-04-10 14:06:46 +00:00
|
|
|
has_and_belongs_to_many :users
|
2012-04-16 11:57:33 +00:00
|
|
|
after_create :cache_delete
|
|
|
|
after_update :cache_delete
|
|
|
|
after_destroy :cache_delete
|
2012-04-10 14:06:46 +00:00
|
|
|
end
|