Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Sep 29, 2013
  1. @rafaelfranca

    Merge pull request #171 from kennyj/fix_rails_issue_12293

    rafaelfranca authored
    Strong parameters should permit nested number as key. Fixes Rails Issue 12293.
  2. @kennyj
Commits on Sep 13, 2013
  1. @rafaelfranca

    Merge pull request #165 from nashby/rails-issue-12149

    rafaelfranca authored
    do not break params filtering on nil values
  2. @nashby
Commits on Aug 26, 2013
  1. @carlosantoniodasilva

    Update lock file

    carlosantoniodasilva authored
Commits on Jul 16, 2013
  1. @senny
Commits on May 23, 2013
  1. @dhh

    Merge pull request #146 from josephers/patch-1

    dhh authored
    Document how to require multiple keys in params
  2. Document how to require multiple keys in params

    Joseph Choi authored
    With reference to commit 735da78
Commits on May 8, 2013
  1. @dhh

    Bump version

    dhh authored
Commits on Apr 20, 2013
  1. @carlosantoniodasilva

    Merge pull request #133 from frodsan/fix_README

    carlosantoniodasilva authored
    fix Travis link [ci skip]
  2. fix Travis link [ci skip]

    Francesco Rodriguez authored
Commits on Apr 18, 2013
  1. @dhh

    Revert "Implements require with multiple parameters" -- too confusing…

    dhh authored
    … an API.
    
    This reverts commit 7758a34.
Commits on Apr 17, 2013
  1. @dhh

    Merge pull request #117 from d-Pixie/master

    dhh authored
    Allow multiple keys in call to require
  2. Implements require with multiple parameters

    Jonas Schubert Erlandsson authored
    Normal use is unchanged.
    
    When used with multiple parameters the error raised in case a
    parameter is missing lists all the missing parameters.
    
    Returns the params hash if no required parameters are missing.
Commits on Apr 15, 2013
  1. @rafaelfranca

    Merge pull request #132 from orend/add-badges

    rafaelfranca authored
    add badges
  2. @orend
  3. @rafaelfranca

    Merge pull request #131 from orend/instrument-event-on-unpermitted-pa…

    rafaelfranca authored
    …rams
    
    Use the instrumentation framework to instrument unpermitted params.
Commits on Apr 14, 2013
  1. @orend

    Use the instrumentation framework to instrument unpermitted params.

    orend authored
    Similarly to rails/rails, use the instrumentation framework to instrument unpermitted params. The event name is compatible with this in rails/rails to allow easy migration to rails 4.0
Commits on Apr 13, 2013
  1. @carlosantoniodasilva

    Merge pull request #129 from orend/remove-mocha-to-fix-travis-failures

    carlosantoniodasilva authored
    remove mocha to fix travis failures
  2. @orend
Commits on Apr 10, 2013
  1. @rafaelfranca

    Merge pull request #127 from tilsammans/patch-1

    rafaelfranca authored
    Made the Rails version with whitelisting explicit
  2. @tilsammans

    Made the Rails version with whitelisting explicit

    tilsammans authored
    A 'later version' of Rails was described, but this confused me a little.
    I just made the Rails version explicit. Whitelisting was added in Rails 3.2.
Commits on Apr 5, 2013
  1. @rafaelfranca

    Merge pull request #126 from derekprior/dp-ruby2-travis

    rafaelfranca authored
    Add ruby 2.0 coverage to travis builds
  2. @derekprior

    Add ruby 2.0 to travis

    derekprior authored
    Runs only under rails 3.2
Commits on Mar 27, 2013
  1. @dhh

    Merge pull request #121 from simonc/121-arrays-within-a-hash

    dhh authored
    Permitting arrays within a hash
Commits on Mar 26, 2013
  1. @simonc

    Allowing arrays to be nested in numeric-key hashes

    simonc authored
    When params was of the form
    
        {
          :book => {
            :authors_attributes => {
              :'0' => ['William Shakespeare', '52'],
              :'1' => ['Unattributed Assistant']
            }
          }
        }
    
    And its corresponding filter was
    
        {
          :book => {
            :authors_attributes => {
              :'0' => [],
              :'1' => []
            }
          }
        }
    
    It resulted in params looking like this
    
        {
          :book => {
            :authors_attributes => {
              :'0' => nil,
              :'1' => nil
            }
          }
        }
    
    This was due to the way hashes with all numeric keys are treated.
    I just added a special case when a corresponding filter exists and is an empty
    array.
Commits on Feb 27, 2013
  1. @fxn

    Merge pull request #109 from soffes/master

    fxn authored
    Add code coloring to readme
  2. @soffes

    Add code coloring to readme

    soffes authored
  3. @fxn

    Merge pull request #108 from bemurphy/permit_bang_readme

    fxn authored
    Add README section about using #permit!
  4. @bemurphy

    Add README section about using #permit!

    bemurphy authored
    Readme possibility for bullet point 2 on gh-107
Commits on Feb 21, 2013
  1. @carlosantoniodasilva

    Merge pull request #104 from 3dna/info-log-level

    carlosantoniodasilva authored
    Use info debugging level when logging
  2. @DavidHuie
  3. @fxn

    Merge pull request #106 from fabiokr/rack_test_uploaded_file

    fxn authored
    Rack::Test::UploadedFile is a permitted scalar
  4. @fabiokr
Commits on Feb 18, 2013
  1. @dhh

    Latest release

    dhh authored
Something went wrong with that request. Please try again.