lib/rails-canhaz/canhaz_permission.rb in rails-canhaz-1.0.7 vs lib/rails-canhaz/canhaz_permission.rb in rails-canhaz-2.0.0.pre
- old
+ new
@@ -1,5 +1,6 @@
require 'active_record'
+require 'protected_attributes'
class CanHazPermission < ActiveRecord::Base
attr_accessible :csubject_id, :csubject_type, :cobject_type, :cobject_id, :permission_name