Sha256: 02c0f32f99507b8eb1ec9d38bb1cdacdaa140c72f966da5bd005455fced28427
Contents?: true
Size: 396 Bytes
Versions: 1
Compression:
Stored size: 396 Bytes
Contents
# Setup some basic models to test with. We'll set permissions on both, # and then test :scope'd permissions through both. class Permissive::Organization < ActiveRecord::Base set_table_name :permissive_organizations end class Permissive::User < ActiveRecord::Base set_table_name :permissive_users end class UserWithRole < ActiveRecord::Base set_table_name :permissive_users_with_roles end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
permissive-0.2.4.alpha | spec/spec_models.rb |