I hereby claim:
- I am yoda on github.
- I am septu (https://keybase.io/septu) on keybase.
- I have a public key whose fingerprint is 8BF5 D78A 4470 8176 ED29 6157 378A FEA0 360A 0D09
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am yoda on github. | |
* I am septu (https://keybase.io/septu) on keybase. | |
* I have a public key ASD5HZXVXiZrxVHrcKEfKZfRt6c3pfB-t-SO9Skvsr8NQgo | |
To claim this, I am signing this object: |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
module CanCan | |
class Query | |
def sanitize_sql(conditions) | |
conditions | |
end | |
end | |
# customize to handle Mongoid queries in ability definitions conditions | |
class CanDefinition | |
def matches_conditions_hash?(subject, conditions = @conditions) |