Flowdock
method

cast_value

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: SQLite3Binary
cast_value(value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 45
      def cast_value(value)
        if value.encoding != Encoding::ASCII_8BIT
          value = value.force_encoding(Encoding::ASCII_8BIT)
        end
        value
      end
Register or log in to add new notes.