Sha256: f03c4ad77427acb54be0e6a98f92f11737b79ee7ffd194a58ef3ec507b63f322
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
# CanCanCan-Squeel [](https://travis-ci.org/lowjoel/cancancan-squeel) [] (https://codeclimate.com/github/lowjoel/cancancan-squeel) [](https://coveralls.io/github/lowjoel/cancancan-squeel?branch=master) [](https://hakiri.io/github/lowjoel/cancancan-squeel/master) [](http://inch-ci.org/github/lowjoel/cancancan-squeel) This is an adapter for the [CanCanCan](https://github.com/CanCanCommunity/cancancan) authorisation library to automatically generate SQL queries from ability rules. This differs from the default ActiveRecord implementation in that it uses [squeel](https://github.com/activerecord-hackery/squeel) to generate SQL queries. This no longer uses - `includes` (which incurs eager loading overhead) - `WHERE` fragments, joined lexically using `OR` or `AND` or `NOT`. As a side effect of using `squeel`, this allows self-joins in rule definitions.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cancancan-squeel-0.1.0 | README.md |