Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 6, 2012
  1. @kuroda

    Fix human attribute_name to handle deeply nested attributes

    kuroda committed
    This is a back-port of b0e2fc8 to Rails 3.2.
    See #5843 and #3859 also.
Commits on Dec 5, 2011
  1. @josevalim
  2. @kuroda

    Fix human_attribute_name to handle names with dots

    kuroda committed
    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.
Commits on Jun 11, 2011
  1. @josevalim
Commits on Jun 8, 2011
  1. @thoefer2
Commits on Apr 27, 2011
  1. @smartinez87
Commits on Mar 30, 2011
  1. @spastorino
Commits on Feb 27, 2011
  1. @spastorino

    Revert "Properly interpolate i18n keys in modules [#5572 state:resolv…

    spastorino committed
    This breaks #6448, you should use :"module/class" as key for namespacing
    [#6448 state:committed]
    This reverts commit 8d30193.
Commits on Sep 24, 2010
  1. @rosenfeld @josevalim
Commits on Aug 29, 2010
  1. @josevalim
Commits on Aug 14, 2010
  1. @spastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    spastorino committed
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Jul 30, 2010
  1. @fxn
Commits on Jun 15, 2010
  1. @dolzenko
Commits on Jun 14, 2010
  1. @rizwanreza
Commits on Jun 11, 2010
  1. @dolzenko
Commits on Jan 18, 2010
  1. @mikel
Commits on Jan 7, 2010
  1. @josevalim

    Allow to specify default attributes names translation in I18n yml files.

    josevalim committed
    For example, you could easily specify :created_at and :updated_at translations as:
          created_at: "Created at"
          updated_at: "Updated at"
    This configuration is built on ActiveModel, so it means those translations are
    shared between different ORMs as well (but always as a fallback).
Commits on Dec 23, 2009
  1. @josevalim
Commits on Nov 13, 2009
  1. @jeremy

    Uses Hash#reverse_merge

    jeremy committed
Commits on Oct 21, 2009
  1. @josevalim @josh

    Fix error_messages_for when instance variable names are given.

    josevalim committed with josh
    Signed-off-by: Joshua Peek <>
  2. @josevalim

    Move validator, human_name and human_attribute_name to ActiveModel, r…

    josevalim committed with Carl Lerche
    …emove deprecated error messages and add i18n_scope and lookup_ancestors.
    Signed-off-by: Carl Lerche <>
Something went wrong with that request. Please try again.