Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Isue #835 - CanCan ActiveModel::ForbiddenAttributesError with rails 4 #911

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 28, 2013

  1. Added lookup for :attributes key in arguments passed to load_and_auth…

    …orize_resource looking for a params sanitation method name. The params sanitation method defined in the client apps controller is then used to get the params when loading the resource.
    blischalk committed Jul 28, 2013
    Configuration menu
    Copy the full SHA
    4fe790b View commit details
    Browse the repository at this point in the history
  2. Fallback to legacy behavior if no attributes method specified. Added …

    …spec for new attributes method functionality.
    blischalk committed Jul 28, 2013
    Configuration menu
    Copy the full SHA
    ae93410 View commit details
    Browse the repository at this point in the history