Read more

Consul 0.5.0 is faster for admins, allows to define multiple powers at once

Henning Koch
January 14, 2013Software engineer at makandra GmbH

When calling a scope like current_power.user?(user), Consul will no longer trigger a query if the users power selects all records (SELECT * from users). This should make such checks much faster for users who can access many records, like admins.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

You can now define multiple powers at once:

power :users, :updatable_users, :creatable_users do
  ...
end
Posted by Henning Koch to makandra dev (2013-01-14 18:01)