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

    ryanb committed Nov 12, 2010
  2. Fix NoMethodError

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

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

    …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.
    mphalliday committed with ryanb Oct 17, 2010
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…

    … :shallow => true to bypass
    ryanb committed Sep 21, 2010
Commits on Sep 20, 2010
Commits on Sep 16, 2010
  1. fix error

    funny-falcon committed with ryanb Sep 13, 2010
  2. resolve issue 149

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

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

    …have inherited_resource's methods protected
    jbarreneche committed with ryanb Sep 14, 2010
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…

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