This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 783
While we wait for 1.6.11... #989
Open
bryanrite
wants to merge
23
commits into
ryanb:master
Choose a base branch
from
bryanrite:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Jan 27, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 2ea73a9 - Browse repository at this point
Copy the full SHA 2ea73a9View commit details -
FIX: Variable collision prevents defining permissions with multiple n…
…ested conditions
Configuration menu - View commit details
-
Copy full SHA for e87464b - Browse repository at this point
Copy the full SHA e87464bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8aec29 - Browse repository at this point
Copy the full SHA c8aec29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5155f63 - Browse repository at this point
Copy the full SHA 5155f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 375c012 - Browse repository at this point
Copy the full SHA 375c012View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ba470 - Browse repository at this point
Copy the full SHA a1ba470View commit details -
Do not execute the scope condition on class permission checks.
@conditions.empty? calls ActiveRecord::Relation#empty? when a scoped condition is provided. ActiveRecord::Relation#empty? will query the database while CanCan only needs to check if conditions are set on the rule.
Configuration menu - View commit details
-
Copy full SHA for d3e4fd7 - Browse repository at this point
Copy the full SHA d3e4fd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba5294d - Browse repository at this point
Copy the full SHA ba5294dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44c2ca7 - Browse repository at this point
Copy the full SHA 44c2ca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5a0732 - Browse repository at this point
Copy the full SHA d5a0732View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd755e2 - Browse repository at this point
Copy the full SHA bd755e2View commit details -
Allow multiple abilities with associations
There are two issues with the current way cancan handles associations: 1) Records are returned multiple times in some circumstances 2) Several defined abilities prevent some records to show up under certain circumstances This commit includes tests for both cases. It fixes both problems by changing `joins` to `includes` for the AR adapters. This could have performance implications, since `includes` will also select all columns in the associated records. We tried various ways of achieving the same thing using Arel directly, but were unable to make this work due to lack of support for outer joins in Rails 3.1. This closes issues ryanb#724, ryanb#566 and ryanb#613
Configuration menu - View commit details
-
Copy full SHA for 8976293 - Browse repository at this point
Copy the full SHA 8976293View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd04d23 - Browse repository at this point
Copy the full SHA cd04d23View commit details -
Configuration menu - View commit details
-
Copy full SHA for a30dfb2 - Browse repository at this point
Copy the full SHA a30dfb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for be24a2c - Browse repository at this point
Copy the full SHA be24a2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5bfda6 - Browse repository at this point
Copy the full SHA b5bfda6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04acbdc - Browse repository at this point
Copy the full SHA 04acbdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c97fb3 - Browse repository at this point
Copy the full SHA 3c97fb3View commit details
Commits on Jan 28, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 23b2ed6 - Browse repository at this point
Copy the full SHA 23b2ed6View commit details -
Merge pull request #1 from bryanrite/yet_another_strong_params_support
Support for strong_parameters
Configuration menu - View commit details
-
Copy full SHA for 535e5db - Browse repository at this point
Copy the full SHA 535e5dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d76b2b0 - Browse repository at this point
Copy the full SHA d76b2b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e70203 - Browse repository at this point
Copy the full SHA 8e70203View commit details
Commits on Jan 29, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 014f513 - Browse repository at this point
Copy the full SHA 014f513View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.