Sha256: 4680671fcfe7b10e8e0ff77bd7c3fda6375c532bf409d75d26dd8d434836c3db
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
# rubocop:disable Naming/MethodName # rubocop:disable Naming/UncommunicativeMethodParamName module Arel module Nodes class CurrentUser < Arel::Nodes::Node end end module Visitors class ToSql def visit_Arel_Nodes_CurrentUser(_o, collector) collector << 'current_user' end end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arel_toolkit-0.3.0 | lib/arel/extensions/current_user.rb |
arel_toolkit-0.2.0 | lib/arel/extensions/current_user.rb |