Ryan Bates
|
47f0aa597e
|
change how params are passed to ControllerResource and use HashWithIndifferentAccess in tests
|
2010-08-06 09:24:01 -07:00 |
|
Ryan Bates
|
67b069579e
|
don't pass nil to 'new' call when no params are specified - closes #63
|
2010-08-05 16:52:37 -07:00 |
|
Ryan Bates
|
156839b73e
|
only use the :read action when authorizing parent resources
|
2010-08-05 16:24:08 -07:00 |
|
Ryan Bates
|
25a1c553bf
|
adding :through option to replace :nesting option and moving ResourceAuthorization class code into ControllerResource
|
2010-08-05 16:12:30 -07:00 |
|
Ryan Bates
|
25637bb33a
|
removing extra white space at end of lines
|
2010-07-21 11:45:26 -07:00 |
|
Ryan Bates
|
dfd84a10ed
|
improving inline documentation
|
2010-05-21 13:41:24 -07:00 |
|
Ryan Bates
|
5aa6252df6
|
removing unused methods and a bit more refactoring
|
2010-04-18 00:44:42 -07:00 |
|
Ryan Bates
|
8903feee70
|
removing unauthorized! in favor of authorize! and including more information in AccessDenied exception - closes #40
|
2010-04-16 14:54:18 -07:00 |
|
Ryan Bates
|
baeef0b9dd
|
adding conditions behavior to Ability#can and fetch with Ability#conditions - closes #53
|
2010-04-15 16:50:47 -07:00 |
|
Ryan Bates
|
23a5888fe0
|
renaming :class option to :resource for load_and_authorize_resource which now supports a symbol for non models - closes #45
|
2010-04-15 14:14:22 -07:00 |
|
Ryan Bates
|
021f33c9a0
|
Adding :class option to load_resource so one can customize which class to use for the model - closes #17
|
2009-12-14 08:31:49 -08:00 |
|
Ryan Bates
|
ffa677b2b0
|
Don't set resource instance variable if it has been set already - closes #13
|
2009-12-13 12:32:09 -08:00 |
|
Ryan Bates
|
51fa61bbae
|
refactoring out resource loading/building logic into separate class
|
2009-12-13 12:11:02 -08:00 |
|