aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
Commit message (Expand)AuthorAgeFilesLines
* Apply subsecond precision on assignment when using TZ aware attributesSean Griffin2015-09-241-1/+1
* `type_cast_from_user` -> `cast`Sean Griffin2015-02-171-2/+2
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* rm `ActiveRecord::Type::Decorator`Sean Griffin2015-02-071-2/+0
* Push multi-parameter assignement into the typesSean Griffin2015-02-071-0/+8
* fix typo still cause -> still causesFelix Schäfer2015-01-271-1/+1
* [ci skip] fix typo sill -> stillAditya Kapoor2015-01-151-1/+1
* Time columns should support time zone aware attributesSean Griffin2015-01-151-4/+29
* Don't raise on out-of-range datetimes passed by a userGrey Baker2014-12-231-1/+5
* Allow custom handling of non-standard types in `time_zone_conversion`Sean Griffin2014-12-081-1/+1
* Use `DelegateClass` instead of `SimpleDelegator` for type decoratorsSean Griffin2014-11-141-1/+1
* Allow YAML serialization when using TZ aware attributesSean Griffin2014-09-171-0/+2
* Stop using instance exec for type decoratorsSean Griffin & Sean Doyle2014-06-271-5/+15
* Silence warning in testSean Griffin2014-06-241-2/+2
* Promote time zone aware attributes to a first class type decoratorSean Griffin2014-06-161-1/+6
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-091-1/+1
* Make `_before_type_cast` actually be before type castSean Griffin2014-06-091-40/+11
* Ensure time zones don't change after round trip with array columnsSean Griffin2014-06-071-1/+11
* changelog for #15556 and credit @kuldeepaggarwal [Kuldeep Aggarwal]Yves Senn2014-06-071-2/+0
* Add array support when time zone aware attributes are enabledSean Griffin2014-06-071-1/+13
* Rename attribute related instance variables to better express intentSean Griffin2014-05-301-1/+1
* Add an interface for type objects to control Ruby => SQLSean Griffin2014-05-261-4/+2
* Remove :timestamp column typeSean Griffin2014-05-191-2/+2
* Perf: avoid array allocation where not neededSam2013-08-271-1/+1
* Simplify type casting code for timezone aware attributesAndrew White2013-01-261-10/+5
* Fix handling of dirty time zone aware attributesLilibeth De La Cruz2013-01-261-2/+2
* Revert "Round usec when writing timestamp attribute."Andrew White2013-01-221-13/+5
* Don't call will_change! for datetime nil->"".Alisdair McDiarmid2012-11-251-0/+1
* Remove return guardCarlos Antonio da Silva2012-11-171-2/+1
* Remove ActiveRecord::ModelJon Leighton2012-10-261-11/+5
* Revert "Get rid of the ActiveRecord::Model::DeprecationProxy thing."Jeremy Kemper2012-10-201-1/+1
* Get rid of the ActiveRecord::Model::DeprecationProxy thing.Jon Leighton2012-10-191-1/+1
* Revert "Key the attributes hash with symbols"Jon Leighton2012-10-121-1/+1
* Removing dead code. attribute_cast_code is not called.kennyj2012-09-281-15/+0
* Key the attributes hash with symbolsJon Leighton2012-08-311-1/+1
* Round usec when writing timestamp attribute.kennyj2012-08-211-5/+14
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-021-1/+0
* Simplify AR configuration code.Jon Leighton2012-06-151-4/+9
* Fix #6591. If a field with timezone isn't changed, we don't call will_change!.kennyj2012-06-041-1/+2
* force datetime attributes to be changed, fix GH #3965Sergey Nartimov2012-02-281-0/+1
* removing dead codeAaron Patterson2012-02-091-10/+0
* give each PG type a `type` method and decortate tz attributesAaron Patterson2012-02-071-1/+18
* moved most of the evald code in to regular ruby codeAaron Patterson2012-02-071-5/+2
* copy the columns hash to the active record instances, typecast using columns ...Aaron Patterson2012-02-071-33/+46
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-281-3/+4
* Deal with global config better between AR::Base and AR::ModelJon Leighton2011-12-241-3/+2
* Fix #3837.Jon Leighton2011-12-031-11/+5
* Remove some unnecessary code etcJon Leighton2011-12-011-19/+3
* Remove the need for type_cast_attribute.Jon Leighton2011-12-011-3/+16