mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #3472 from riking/patch-1
Add some documentation to fast_pluck.rb
This commit is contained in:
commit
faa381781b
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user