mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
Merge pull request #3472 from riking/patch-1
Add some documentation to fast_pluck.rb
This commit is contained in:
commit
faa381781b
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