Skip to content
Commits on Nov 12, 2010
  1. releasing version 1.4.1

    committed
  2. @nandalopes

    Fix NoMethodError

    nandalopes committed with
    Raises NoMethodError when using ":singleton => true, :shallow => true" and parent_resource is nil
  3. @ramontayag

    checks if active record responds to 'joins', so this can work with in…

    ramontayag committed with
    …ternuity's quick_scopes gem; added .swp files to git ignore
  4. @mphalliday

    This fixes an odd error I was seeing in development mode when cache_c…

    mphalliday committed with
    …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

    committed
Commits on Oct 4, 2010
  1. @funny-falcon
Commits on Sep 23, 2010
Commits on Sep 21, 2010
  1. adding to changelog

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

    committed
    … :shallow => true to bypass
Commits on Sep 20, 2010
  1. @funny-falcon
Commits on Sep 16, 2010
  1. @funny-falcon
  2. @funny-falcon
  3. @funny-falcon

    fix error

    funny-falcon committed with
  4. @funny-falcon
  5. @funny-falcon

    resolve issue 149

    funny-falcon committed with
  6. @jbarreneche
  7. @jbarreneche

    Controllers which use 'inherit_resources' instead of Inheritance may …

    jbarreneche committed with
    …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…

    committed
    …thods to ensure authorization is triggered (thanks justinko) - closes #135
Something went wrong with that request. Please try again.