Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: tagged-docs
Commits on Oct 30, 2013
  1. Xavier Noria

    tagging example

    fxn authored
  2. Jeremy Kemper

    Merge pull request #12214 from chancancode/json_decode_does_not_take_…

    jeremy authored
    …options
    
    Raise an error when AS::JSON.decode is called with options
  3. Godfrey Chan

    Raise an error when AS::JSON.decode is called with options

    chancancode authored
    Rails 4.1 has switched away from MultiJson, and does not currently
    support any options on `ActiveSupport::JSON.decode`. Passing in
    unsupported options (i.e. any non-empty options hash) will now raise
    an ArgumentError.
    
    Rationale:
    
    1. We cannot guarantee the underlying JSON parser won't change in the
       future, hence we cannot guarantee a consistent set of options the
       method could take
    
    2. The `json` gem, which happens to be the current JSON parser, takes
       many dangerous options that is irrelevant to the purpose of AS's
       JSON decoding API
    
    3. To reserve the options hash for future use, e.g. overriding default
       global options like ActiveSupport.parse_json_times
    
    This change *DOES NOT* introduce any changes in the public API. The
    signature of the method is still decode(json_text, options). The
    difference is this method previously accepted undocumented options
    which does different things when the underlying adapter changes. It
    now correctly raises an ArgumentError when it encounters options that
    it does not recognize (and currently it does not support any options).
  4. Jeremy Kemper

    Merge pull request #12203 from chancancode/eager_load_json

    jeremy authored
    Eagerload active_support/json/encoding in active_support/core_ext/object/to_json
  5. Aaron Patterson
  6. Yves Senn
  7. Yves Senn
  8. Rafael Mendonça França

    Merge pull request #12702 from dmathieu/finetune_session_fetch

    rafaelfranca authored
    session#fetch doesn't behave exactly like Hash#fetch.
  9. Damien Mathieu

    session#fetch doesn't behave exactly like Hash#fetch.

    dmathieu authored
    Mention it in the changelog and add a test checking for regressions.
    
    Hash#fetch isn't adding the defaultly returned value.
    However, in the session, saving it is the behavior we should expect.
    
    See discussion in #12692
  10. Yves Senn

    Merge pull request #12687 from notalex/master

    senny authored
    Update pull request instructions as per the new Github UI [ci skip]
  11. Alex
  12. Yves Senn

    Merge pull request #12653 from releu/short_arrays_in_inspect

    senny authored
    Short arrays in record.inspect
  13. Ian Bernactki

    short arrays in inspect

    releu authored
Commits on Oct 29, 2013
  1. Guillermo Iguaran

    Merge pull request #12692 from dmathieu/session_fetch

    guilleiguaran authored
    Add session#fetch
  2. Damien Mathieu
  3. Rafael Mendonça França

    Merge pull request #12693 from carpodaster/convert-cdata-input-to-string

    rafaelfranca authored
    Convert CDATA input to string before gsub'ing
  4. Carsten Zimmermann

    Convert CDATA input to string before gsub'ing

    carpodaster authored
    Rails 3.2 API allowed arbitrary input for cdata_section;
    this change re-introduces the old behaviour.
  5. Yves Senn

    Merge pull request #12690 from durrantm/minor_README_change

    senny authored
    Clarify that visiting http://localhost:3000 should be done in a browser. [ci skip]
  6. Michael Durrant
  7. Rafael Mendonça França

    Merge pull request #12688 from simi/patch-1

    rafaelfranca authored
    Update testing.rake with more accurate description of test task.
  8. Josef Šimánek

    Update testing.rake with more accurate description of test task.

    simi authored
    According to #5ecd12 change.
    
    [ci skip]
  9. Xavier Noria

    Revert "add active model basics wip to guides/documents.yaml"

    fxn authored
    Reason: WIP guides are not in the index because they are partial
    work pushed to the repo. Either there is someone working on them
    or else the work was interrupted.
    
    Guides are added to the index page when they are finished, the
    author considers the draft to be complete, someone reviews them,
    and overall they are considered to be good for users to read.
    
    This reverts commit eefc03a.
  10. Yves Senn

    Merge pull request #10664 from aderyabin/docpatch

    senny authored
    Fix doc in Postgres database creation [ci skip]
  11. David Heinemeier Hansson
  12. David Heinemeier Hansson

    Add failing test for preloading with a polymorphic association and us…

    dhh authored
    …ing the existential predicate
  13. Jeremy Kemper
  14. Aaron Patterson

    fix template Gemfiles

    tenderlove authored
Commits on Oct 28, 2013
  1. Aaron Patterson
  2. Rafael Mendonça França

    Merge pull request #11785 from grosser/grosser/file-unless-exist

    rafaelfranca authored
    support :unless_exist for FileCache
    
    Conflicts:
    	activesupport/CHANGELOG.md
    	activesupport/test/caching_test.rb
  3. Aaron Patterson
  4. Yves Senn

    Merge pull request #11564 from zzak/active_model_guide

    senny authored
    [Guides] Active Model Basics [ci skip]
  5. Yves Senn

    fix typo in comment [ci skip].

    senny authored
  6. David Heinemeier Hansson

    Fix typo

    dhh authored
  7. Carlos Antonio da Silva
Commits on Oct 27, 2013
  1. Rafael Mendonça França

    Merge pull request #12578 from jeradphelps/configurable_schema_migrat…

    rafaelfranca authored
    …ions_table_name
    
    Configurable name for schema_migrations table
    
    Conflicts:
    	activerecord/CHANGELOG.md
Something went wrong with that request. Please try again.