cancan_strong_parameters icon indicating copy to clipboard operation
cancan_strong_parameters copied to clipboard

Adapter to allow cancan to work with strong_parameters

Results 5 cancan_strong_parameters issues
Sort by recently updated
recently updated
newest added

I ran into an issue today while using `permit_params` like this: ``` ruby permit_params label_ids: Array ``` We only needed to permit an array param. We're running version 0.3 and...

See here: http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#usage-of-return-within-inline-callback-blocks So using it in Rails 4.1 errors in lib/cancan_strong_parameters/controller.rb on line 88. I pulled all the return statements with some very minor refactoring.

Does strong_parameters work with mongoid?

Is there a way to just use `required_params` from strong parameters? ``` ruby def post_params params.require(:post).permit( :content, :type, :is_anonymous ) end ```

RubyGems.org doesn't report a license for your gem. This is because it is not specified in the [gemspec](http://docs.rubygems.org/read/chapter/20#license) of your last release. via e.g. ``` spec.license = 'MIT' # or...