mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:52:46 +08:00
Add some documentation to fast_pluck.rb
This commit is contained in:
parent
2955507a57
commit
428ff097f1
|
@ -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 New Issue
Block a user