1. mirror
  2. rails

Commits

Show all
Author Commit Message Date Builds
Santiago Pastorino
Prepare for the 3.0.7.rc2 release
Sebastian Martinez
Added missing CHANGELOG entries for 3.0.7 Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Andrew White
Add missing CHANGELOG entries
Jon Leighton
Update CHANGELOG
Jon Leighton
Backport test assertions from 65469a6 (the behaviour is already the same, but we need to assertions to guard against regressions)
Jon Leighton
Undo performances regressions I introduced in 36691ac9fc932cc11c59c42c7f388399f1e51f54 and add test for an edge case. Add comments to explain the intent of the code. Also fix the code (which previously worked differently on 1.8 and 1.9 due to Symbol#=~ being always false on 1.8)."
Jon Leighton
Return nil from read_attribute if _foo is defined, but @attributes has no 'foo' key. Fixes breakage in test_find_only_some_columns on Ruby 1.9 which was introduced in a3639be4ed5e89b59c4ad0154d44f58e3e48d484.
Jon Leighton
Remove unnecessary code from define_read_method and add assertion to make sure the underscored version is actually generated
Santiago Pastorino
Prepare for the 3.0.7.rc1 release
Santiago Pastorino
Add missing CHANGELOG entries
Stian Grytøyr
Fixes performance issue introduced in 3.0.6 (issue #6695)
Andre Arko
files are a special case and need whitespace to be significant
Andre Arko
gsub is not needed (thanks @fxn!)
Andre Arko
attributes no longer disappear if a tag contains whitespace old: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>"\n"} new: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>{"foo"=>"bar", "__content__"=>"\n"}
tenderlove
Merge branch '3-0-6' into 3-0-stable * 3-0-6: bumping version to 3.0.6 updating CHANGELOG updating CHANGELOG for actionpack do not return html safe strings from auto_link bumping to 3.0.6.rc2 Support both conventions for translations for namespaced models. Added back the use of the Reflection module's cached sanitized_conditions in an AssociationProxy. This was recently removed and when a has_one association with condit…
tenderlove
bumping version to 3.0.6
tenderlove
updating CHANGELOG
tenderlove
updating CHANGELOG for actionpack
tenderlove
do not return html safe strings from auto_link
Josh Kalderimis
remove AM delegating register_observer and register_interceptor to Mail and instead implement smarter versions allowing for string class names, also added proper Railtie support with tests Signed-off-by: José Valim <jose.valim@gmail.com>
durran
Destroying records via nested attributes works independent of reject_if: - When a :_destroy truthiness is provided in the attributes hash, the record should get destroyed regardless of the result of the proc or method supplied to :reject_if. (If :allow_destroy is true) [#6006 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
tenderlove
bumping to 3.0.6.rc2
John Firebaugh
Support both conventions for translations for namespaced models. 3.0.0 - 3.0.1 required 'namespace/model' 3.0.2 - 3.0.5 required 'namespace.model' (nested). It has the advantage of keeping the i18n file DRY when multiple models are in the same namespace, but can lead to translation key conflicts if models are nested within models. [#6448, #5572]
John Firebaugh
Support both conventions for translations for namespaced models. 3.0.0 - 3.0.1 required 'namespace/model' 3.0.2 - 3.0.5 required 'namespace.model' (nested). It has the advantage of keeping the i18n file DRY when multiple models are in the same namespace, but can lead to translation key conflicts if models are nested within models. [#6448, #5572]
Patrick Bacon
Added back the use of the Reflection module's cached sanitized_conditions in an AssociationProxy. This was recently removed and when a has_one association with conditions is eager loaded the conditions would be sanitized once for every result row, causing a database hit to fetch the columns.
tenderlove
Merge branch 'eager_load_has_one_with_conditions_fix' of https://github.com/baconpat/rails into baconpat-eager_load_has_one_with_conditions_fix * 'eager_load_has_one_with_conditions_fix' of https://github.com/baconpat/rails: Added back the use of the Reflection module's cached sanitized_conditions in an AssociationProxy. This was recently removed and when a has_one association with conditions is eager loaded the conditions would be sanitized once for every result row, causing a database hit to fetch the columns.
Santiago Pastorino
Bring back i18n_key to avoid regression
Santiago Pastorino
Bring back i18n_key to avoid regression
Patrick Bacon
Added back the use of the Reflection module's cached sanitized_conditions in an AssociationProxy. This was recently removed and when a has_one association with conditions is eager loaded the conditions would be sanitized once for every result row, causing a database hit to fetch the columns.
tenderlove
Revert "Improve testing of cookies in functional tests:" This reverts commit e2523ff68309f444cd052031c1fe8a3030d2865a.
  1. Prev
  2. Next