Permalink
Commits on Nov 12, 2010
  1. releasing version 1.4.1

    ryanb committed Nov 12, 2010
  2. Fix NoMethodError

    nandalopes authored and ryanb committed Nov 3, 2010
    Raises NoMethodError when using ":singleton => true, :shallow => true" and parent_resource is nil
  3. checks if active record responds to 'joins', so this can work with in…

    ramontayag authored and ryanb committed Nov 2, 2010
    …ternuity's quick_scopes gem; added .swp files to git ignore
  4. This fixes an odd error I was seeing in development mode when cache_c…

    mphalliday authored and ryanb committed Oct 17, 2010
    …lasses = false (the default), specifically when loading an object throught the parent in load_and_authorize_resource.
    
    Assume Photo model and User model where user has many photos:
    
    @photo = current_user.photos.find(1) # this returns a photo
    @photo1 = Photo.find(1)
    
    @photo.kind_of?(Photo) is not always true for some reason when class_cacheing is false.  Where as @photo1.kind_of?(Photo) always appears to be true.  Of interesting note, in the above example @photo != @photo1 if kind_of? is false.  Very odd.
     
    Again, this only appears to be when loading and object through an association.
Commits on Oct 8, 2010
Commits on Oct 5, 2010
  1. releasing version 1.4.0

    ryanb committed Oct 5, 2010
Commits on Oct 4, 2010
Commits on Sep 23, 2010
Commits on Sep 21, 2010
  1. adding to changelog

    ryanb committed Sep 21, 2010
  2. raise AccessDenied error when loading child while parent is nil, pass…

    ryanb committed Sep 21, 2010
    … :shallow => true to bypass
Commits on Sep 20, 2010
Commits on Sep 16, 2010
  1. add specs for module definitions

    funny-falcon authored and ryanb committed Sep 13, 2010
  2. fix error

    funny-falcon authored and ryanb committed Sep 13, 2010
  3. resolve issue 149

    funny-falcon authored and ryanb committed Sep 13, 2010
  4. Use cancan_resource_class for before filters instead of hardcoded Con…

    jbarreneche authored and ryanb committed Sep 14, 2010
    …trollerResource class
  5. Controllers which use 'inherit_resources' instead of Inheritance may …

    jbarreneche authored and ryanb committed Sep 14, 2010
    …have inherited_resource's methods protected
Commits on Sep 9, 2010
Commits on Sep 8, 2010
Commits on Sep 7, 2010
Commits on Sep 3, 2010
  1. adding check_authorization and skip_authorization controller class me…

    ryanb committed Sep 3, 2010
    …thods to ensure authorization is triggered (thanks justinko) - closes #135