Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 26, 2014
  1. @kreeger
Commits on Jan 20, 2014
  1. @fxn

    ready to publish 0.2.3

    fxn authored
  2. @fxn
Commits on Dec 23, 2013
  1. @fxn

    don't mutate hash with fetch

    fxn authored
Commits on Dec 21, 2013
  1. @fxn

    bumps version for release

    fxn authored
  2. @fxn
Commits on Nov 2, 2013
  1. @guilleiguaran
  2. @guilleiguaran

    Revert "Merge pull request #115 from sebasoga/change_require_behaviour"

    guilleiguaran authored
    This reverts commit fd00868, reversing
    changes made to e039055.
  3. @sebasoga

    Change ActionController::Parameters#require behavior when value is empty

    sebasoga authored
    When the value for the required key is empty an ActionController::ParameterMissing is raised which gets caught by ActionController::Base and turned into a 400 Bad Request reply with a message in the body saying the key is missing, which is misleading.
    
    With these changes, ActionController::EmptyParameter will be raised which ActionController::Base will catch and turn into a 400 Bad Request reply with a message in the body saying the key value is empty.
Commits on Sep 29, 2013
  1. @kennyj
Commits on Sep 13, 2013
  1. @nashby
Commits on May 8, 2013
  1. @dhh

    Bump version

    dhh 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. 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 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 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 21, 2013
  1. @DavidHuie
  2. @fabiokr
Commits on Feb 18, 2013
  1. @dhh

    Latest release

    dhh authored
Commits on Jan 23, 2013
  1. @fxn
  2. @dmathieu
Commits on Jan 22, 2013
  1. @thomasfedb
Commits on Jan 20, 2013
  1. @fxn

    permits more scalar types

    fxn authored
Commits on Jan 19, 2013
  1. @fxn

    typo in comment

    fxn authored
  2. @fxn
  3. @cgriego
Commits on Jan 15, 2013
  1. @fxn

    removes unnecessary autoload

    fxn authored
    If this line runs the constant is already defined because it is
    defined in this very file.
Commits on Nov 30, 2012
  1. hash filters should be accessed with symbols or strings

    Francesco Rodriguez authored
Commits on Nov 16, 2012
  1. @grosser

    test rails 3.0

    grosser authored
  2. @fixlr @grosser

    Add Rails 3.0.x support

    fixlr authored grosser committed
Commits on Nov 5, 2012
  1. @bquorning
Commits on Oct 29, 2012
  1. @rafaelfranca
Commits on Oct 27, 2012
  1. @rafaelfranca

    Bump master to 0.1.6.dev

    rafaelfranca authored
Commits on Oct 24, 2012
  1. @geoffgarside

    Fix Regexp.escape(filter) for Ruby 1.8.

    geoffgarside authored
    Ruby 1.8 Regexp.escape does not accept symbols like Ruby 1.9, so
    we have to explicitly call #to_s on filter to avoid the Exception.
Commits on Oct 18, 2012
  1. @rafaelfranca
Something went wrong with that request. Please try again.