You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to canc...@googlegroups.com
Hey all! Just pushed Cancancan 1.9.0.
It includes:
Some Active Record fixes to work better on Rails 4.1, adding the new "references" keywork when required.
Fixes issues with unsanitized parameters for non create and update actions. For example, when sending default values as GET parameters to the new action, Rails would throw a ForbiddenAttributes exception because we were not santitizing the parameters (since we don't save). Now we detect if we will be building the object with user defined parameters and run them through the sanitizer if it exists, regardless of action. Remember, you can customize the particular action's sanitization by providing a method for that action.
Some optimizations for using Cancancan in the Grape API framework without the need for monkey patching.