Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 20, 2011
  1. @dhh

    Party like its R-C-UNO!

    dhh authored
Commits on Dec 16, 2011
  1. @devton
Commits on Dec 8, 2011
  1. @josevalim
Commits on Dec 6, 2011
  1. @josevalim
  2. @josevalim

    Merge pull request #3872 from marcandre/i18n_key

    josevalim authored
    ActiveModel::Name#i18n_key: Fix doc and add tests
  3. @josevalim

    Merge pull request #3873 from iangreenleaf/no_default_tokenizer

    josevalim authored
    Don't tokenize string when counting characters
  4. @marcandre
Commits on Dec 5, 2011
  1. @josevalim
  2. @josevalim

    Merge pull request #3859 from kuroda/human_attribute_name

    josevalim authored
    Fix human_attribute_name to handle names with dots
  3. @kuroda

    Fix human_attribute_name to handle names with dots

    kuroda authored
    Nested I18n namespace lookup under activerecord.models is deprecated now (c19bd4f).
    But when a model uses accepts_nested_attributes_for, its Errors object can have
    an attribute name with "addresses.street" style. In this case, the dots should be
    substituted with slashes so that we can provide the translation under the
    "activemodel.attributes.person.addresses/street" key.
  4. @iangreenleaf
Commits on Dec 1, 2011
  1. @avakhov
Commits on Nov 30, 2011
  1. @vijaydev
  2. @josevalim

    Revert "Implement ArraySerializer and move old serialization API to a…

    josevalim authored
    … new namespace."
    
    This reverts commit 8896b4f.
    
    Conflicts:
    
    	activemodel/lib/active_model.rb
    	activemodel/lib/active_model/serializable.rb
    	activemodel/lib/active_model/serializer.rb
    	activemodel/test/cases/serializer_test.rb
  3. @josevalim

    Log 'Filter chain halted as CALLBACKNAME rendered or redirected' ever…

    josevalim authored
    …y time a before callback halts.
Commits on Nov 29, 2011
  1. @jonleighton

    Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`

    jonleighton authored
    This only existed to support methods like `set_table_name` in Active
    Record, which are themselves being deprecated.
Commits on Nov 27, 2011
  1. @avakhov
Commits on Nov 26, 2011
  1. @vijaydev
Commits on Nov 25, 2011
  1. @josevalim
  2. @josevalim

    Merge branch 'serializers'

    josevalim authored
    This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides.
    
    From José and Yehuda with love.
    
    Conflicts:
    	railties/CHANGELOG.md
  3. @josevalim
Commits on Nov 24, 2011
  1. @qoobaa
Commits on Nov 23, 2011
  1. @josevalim
  2. @josevalim

    Implement ArraySerializer and move old serialization API to a new nam…

    josevalim authored
    …espace.
    
    The following constants were renamed:
    
      ActiveModel::Serialization     => ActiveModel::Serializable
      ActiveModel::Serializers::JSON => ActiveModel::Serializable::JSON
      ActiveModel::Serializers::Xml  => ActiveModel::Serializable::XML
    
    The main motivation for such a change is that `ActiveModel::Serializers::JSON`
    was not actually a serializer, but a module that when included allows the target to be serializable to JSON.
    
    With such changes, we were able to clean up the namespace to add true serializers as the ArraySerializer.
  3. @josevalim
  4. @josevalim
Commits on Nov 19, 2011
  1. @avakhov
Commits on Nov 14, 2011
  1. @josevalim
  2. @oscardelben
Commits on Nov 10, 2011
  1. @byroot
Commits on Nov 7, 2011
  1. @luckydev
Commits on Oct 26, 2011
  1. @bradrobertson
Commits on Oct 20, 2011
  1. @vijaydev
Commits on Oct 19, 2011
  1. @martinsvalin
  2. @martinsvalin

    New #added? method on ActiveModel::Errors

    martinsvalin authored
    The #added? method makes it possible to check if a specific error has been added, using the same parameters as for #add.
Something went wrong with that request. Please try again.