Merge pull request #3472 from riking/patch-1

Add some documentation to fast_pluck.rb
This commit is contained in:
Sam 2015-05-15 14:55:05 +10:00
commit faa381781b

View file

@ -5,6 +5,8 @@ require_dependency 'sql_builder'
class ActiveRecord::Relation class ActiveRecord::Relation
# Note: In discourse, the following code is included in lib/sql_builder.rb
#
# class RailsDateTimeDecoder < PG::SimpleDecoder # class RailsDateTimeDecoder < PG::SimpleDecoder
# def decode(string, tuple=nil, field=nil) # def decode(string, tuple=nil, field=nil)
# if Rails.version >= "4.2.0" # if Rails.version >= "4.2.0"