method

quote

rails latest stable - Class: ActiveRecord::ConnectionAdapters::SQLite3::Quoting

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

quote(value)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/sqlite3/quoting.rb, line 53
        def quote(value) # :nodoc:
          case value
          when Numeric
            if value.finite?
              super
            else
              "'#{value}'"
            end
          else
            super
          end
        end