Changeset 7012
- Timestamp:
- 06/13/07 01:26:36 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-2-stable/activerecord/CHANGELOG
r6880 r7012 1 1 *SVN* 2 2 3 * Allow nil serialized attributes with a set class constraint. #7293 [sandofsky] 3 * Changing the :default Date format doesn't break date quoting. #6312 [bshand, Elias] 4 5 * Allow nil serialized attributes with a set class constraint. #7293 [sandofsky] 4 6 5 7 * belongs_to assignment creates a new proxy rather than modifying its target in-place. #8412 [mmangino@elevatedrails.com] branches/1-2-stable/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb
r5598 r7012 25 25 # BigDecimals need to be output in a non-normalized form and quoted. 26 26 when BigDecimal then value.to_s('F') 27 when Date then "'#{value.to_s }'"27 when Date then "'#{value.to_s(:db)}'" 28 28 when Time, DateTime then "'#{quoted_date(value)}'" 29 29 else "'#{quote_string(value.to_yaml)}'"