cancan

https://github.com/ryanb/cancan

Ruby

Authorization Gem for Ruby on Rails.

CanCan::ModelAdapters::ActiveRecordAdapter#sanitize_sql

No Docs, write some!

Source | Google | Stack overflow

Edit

$ git clone [email protected]:ryanb/cancan.git
$ cd cancan
$ open lib/cancan/model_adapters/active_record_adapter.rb

Contribute

# Make a new branch
$ git checkout -b -your-name--update-docs-CanCan--ModelAdapters--ActiveRecordAdapter-sanitize_sql-for-pr

# Commit to git
$ git add lib/cancan/model_adapters/active_record_adapter.rb
$ git commit -m "better docs for CanCan::ModelAdapters::ActiveRecordAdapter#sanitize_sql"

# Open pull request
$ gem install hub # on a mac you can `brew install hub`
$ hub fork
$ git push <your name> -your-name--update-docs-CanCan--ModelAdapters--ActiveRecordAdapter-sanitize_sql-for-pr
$ hub pull-request

# Celebrate!