File: quoting.rb

package info (click to toggle)
ruby-activerecord-nulldb-adapter 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 252 kB
  • sloc: ruby: 1,039; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
module ActiveRecord
  module ConnectionAdapters
    module Quoting
      extend ActiveSupport::Concern

      module ClassMethods
        def quote_column_name(column_name)
          "'#{column_name}'"
        end
      end
    end
  end
end