• A
    drop conditionals in conversion logic · 5046d517
    Aaron Patterson 提交于
    there is no reason to `convert_hashes_to_parameters` with an assignemt
    flag.  The caller knows whether or not it wants the value assigned.  We
    should just change the uncommon case (not writing to the underlying
    hash) to just call the conversion method and return that value.
    5046d517
strong_parameters.rb 26.3 KB