perf/sequel_perf.rb in protector-0.6.4 vs perf/sequel_perf.rb in protector-0.7.0
- old
+ new
@@ -14,17 +14,17 @@
activate do
Dummy.instance_eval do
protect do
scope { where }
- can :view, :string
+ can :read, :string
end
end
Fluffy.instance_eval do
protect do
scope { where }
- can :view
+ can :read
end
end
# Define attributes methods
Dummy.first
\ No newline at end of file