mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
Add some documentation to fast_pluck.rb
This commit is contained in:
parent
2955507a57
commit
428ff097f1
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ require_dependency 'sql_builder'
|
|||
|
||||
class ActiveRecord::Relation
|
||||
|
||||
# Note: In discourse, the following code is included in lib/sql_builder.rb
|
||||
#
|
||||
# class RailsDateTimeDecoder < PG::SimpleDecoder
|
||||
# def decode(string, tuple=nil, field=nil)
|
||||
# if Rails.version >= "4.2.0"
|
||||
|
|
Loading…
Reference in a new issue