aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/result.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Make `ActiveRecord::Result#to_a` as alias to `ActiveRecord::Result#to_ary`bogdanvlviv2018-09-201-5/+2
* Deprecate ActiveRecord::Result#to_hash in favor of #to_aKevin Cheng2018-09-181-2/+10
* Do not recompute lengthschneems2018-08-301-2/+2
* Fix documentation based on feedbackAaron Patterson2018-06-261-1/+1
* Speed up homogeneous AR lists / reduce allocationsAaron Patterson2018-06-251-0/+5
* Avoid creating temporary arrays in ActiveRecord::Result#cast_values in order ...Lachlan Sylvester2018-06-191-5/+14
* PERF: avoid allocating column names where possibleSam2018-06-061-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Improve docs for ActiveRecord::Result. [ci skip]Trevor Reiff2017-02-241-1/+12
* Add `Type.default_value` and use it everywhere for internalRyuta Kamizono2016-08-261-3/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-29/+29
* Optimize ActiveRecord::Result#lastBenjamin Quorning2016-06-241-1/+2
* Add ActiveRecord::Result#firstBenjamin Quorning2016-06-241-0/+5
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-2/+3
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* Revert "Improve performance of AR object instantiation"Sean Griffin2014-11-141-9/+0
* Improve performance of AR object instantiationSean Griffin2014-11-051-0/+9
* add length to ActiveRecord::ResultAaron Patterson2014-10-131-0/+4
* Encapsulate knowledge of type objects on `ActiveRecord::Result`Sean Griffin2014-06-221-8/+15
* Introduce an Attribute object to handle the type casting danceSean Griffin2014-06-131-1/+1
* Use an actual identity type in AR::Result#identity_typeSean Griffin2014-06-091-1/+1
* Rename attribute related instance variables to better express intentSean Griffin2014-05-301-1/+1
* Return sized enumerator from Batches#find_eachMarc-Andre Lafortune2014-02-051-1/+1
* Also dup `column_types` in AR::Result `initialize_copy`Vipul A M2013-11-101-3/+4
* typecast records returned from the db rather than to_sing everythingAaron Patterson2013-10-081-0/+4
* Perf: micro optimised Result column hash_row creationSam2013-08-291-1/+15
* Added some usage about ActiveRecord::Result [ci skip]kennyj2013-07-231-2/+26
* make the identity type a singleton to save on object creationAaron Patterson2013-07-011-0/+6
* Change Result#each to return an Enumerator when called without a block.Ben Woosley2013-06-181-1/+5
* Remove ActiveRecord::ModelJon Leighton2012-10-261-1/+1
* Freeze columns only once per ResultSantiago Pastorino2012-09-201-6/+9
* Freeze columns just before using them as hash keysSantiago Pastorino2012-09-201-2/+5
* Freeze columns before using them as hash keysJeremy Evans2012-09-131-1/+1
* Refactor AR::Result or inherits. Because we have redundant codes aboutkennyj2012-08-221-2/+2
* Doc for ActiveRecord::Result empty? methodRob Zolkos2012-05-071-0/+1
* moving column types to an ivar on the resultAaron Patterson2012-02-071-8/+5
* column types are passed from the result set to the instantiated AR objectAaron Patterson2012-02-071-0/+4
* QueryCache will just dup an AR::Result, AR::Result can deep copyAaron Patterson2012-01-311-0/+6
* made the result set object act more like an arrayAaron Patterson2012-01-311-0/+19
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
* updating the docco for ActiveRecord::ResultAaron Patterson2011-04-111-2/+2
* adjust query counts to be consistent across databases, make sure database log...Aaron Patterson2011-02-041-0/+4
* AR internals expect a normal hash, otherwise there are serialization incompat...Aaron Patterson2011-01-051-1/+1
* exec returns an AR::ResultAaron Patterson2010-10-261-0/+30