Sha256: 22a2c01da13a528c06ff8cf1fda352657c354717ffae90b7467d220c999a16a4

Contents?: true

Size: 493 Bytes

Versions: 10

Compression:

Stored size: 493 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

    class Dot
      alias visit_Arel_Nodes_CurrentUser terminal
    end
  end
end

# rubocop:enable Naming/MethodName
# rubocop:enable Naming/UncommunicativeMethodParamName

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arel_toolkit-0.4.9 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.8 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.7 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.6 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.5 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.4 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.3 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.2 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.1 lib/arel/extensions/current_user.rb
arel_toolkit-0.4.0 lib/arel/extensions/current_user.rb