Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 26, 2010
  1. @dhh

    Prep for RC

    dhh authored
Commits on Jul 21, 2010
  1. @neerajdotname @fxn

    replacing around with for in the comments for callbacks

    neerajdotname authored fxn committed
  2. @drogus @josevalim

    Moved a few methods from RecordIdentifier to ActiveModel::Naming

    drogus authored josevalim committed
    Signed-off-by: José Valim <>
Commits on Jul 16, 2010
  1. @neerajdotname
Commits on Jul 11, 2010
  1. @spastorino
Commits on Jul 8, 2010
  1. @josevalim
  2. @lukaszx0 @josevalim

    Removing method before redefining it. It was causing warnings. [#5072

    lukaszx0 authored josevalim committed
    Signed-off-by: José Valim <>
  3. @josevalim

    Change documentation for ActiveModel::MassAssignmentSecurity a bit an…

    josevalim authored
    …d make debug always be called since some people may overwrite warn! to add extra behavior even if logger is not available.
  4. @joshk @josevalim

    mass_assignment_security moved from AR to AMo, and minor test cleanup

    joshk authored josevalim committed
    Signed-off-by: José Valim <>
Commits on Jul 3, 2010
  1. @spastorino
Commits on Jun 26, 2010
  1. @spastorino @josevalim

    Move constantize from conversions to inflections.

    spastorino authored josevalim committed
    This removes ActiveModel dependency on TZInfo.
    [#4979 state:committed]
    Signed-off-by: José Valim <>
  2. @josevalim

    Work around the fact the JSON gem was overwriting to_json implementat…

    josevalim authored
    …ion for all Ruby core classes.
    This is required because the JSON gem is incompatible with Rails behavior and was not allowing ActiveModel::Errors to be serialized.
    So we need to ensure Rails implementation is the one triggered. [#4890 state:resolved]
Commits on Jun 23, 2010
  1. @joshk @josevalim

    Regression with how base errors messages are added to a model. Works …

    joshk authored josevalim committed
    …correctly for both string error messages and symbol translated messages.
    Signed-off-by: José Valim <>
Commits on Jun 21, 2010
  1. @josevalim
  2. @jeroenvandijk @josevalim

    Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an opt…

    jeroenvandijk authored josevalim committed
    …ions hash and make various Validators pass their (filtered) options.
    This makes it possible to pass additional options through Validators to message generation. E.g. plugin authors want to add validates_presence_of :foo, :format => "some format".
    Also, cleanup the :default vs :message options confusion in ActiveModel validation message generation.
    Also, deprecate ActiveModel::Errors#add_on_blank(attributes, custom_message) in favor of ActiveModel::Errors#add_on_blank(attributes, options).
    Also, refactoring of ActiveModel and ActiveRecord Validation tests. Test are a lot more DRY now. Better test coverage as well now.
    The first four points were reapplied from an older patch of Sven Fuchs which didn't apply cleanly anymore and was not complete yet.
    Signed-off-by: José Valim <>
Commits on Jun 20, 2010
  1. @fxn

    Merge remote branch 'rails/master'

    fxn authored
Commits on Jun 19, 2010
  1. @josevalim
  2. @neerajdotname @josevalim

    moving before_validation and after_validation functionality from Acti…

    neerajdotname authored josevalim committed
    …veRecord to ActiveModel
    [#4653 state:resolved]
    Signed-off-by: José Valim <>
Commits on Jun 15, 2010
  1. @rizwanreza
  2. @rizwanreza
  3. @rizwanreza
  4. @rizwanreza
  5. @rizwanreza
  6. @bryanwoods
  7. @dolzenko
Commits on Jun 14, 2010
  1. @fxn

    edit pass: the names of Rails components have a space, ie, "Active Re…

    fxn authored
    …cord", not "ActiveRecord"
  2. @rizwanreza
  3. @rizwanreza
  4. @rizwanreza

    Revised and added headings.

    rizwanreza authored
  5. @rizwanreza
  6. @rizwanreza
  7. @rizwanreza
  8. @rizwanreza
  9. @rizwanreza
  10. @rizwanreza
Something went wrong with that request. Please try again.