Module: Neighbor::SQLite::InstanceMethods
- Defined in:
- lib/neighbor/sqlite.rb
Instance Method Summary collapse
Instance Method Details
#configure_connection ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/neighbor/sqlite.rb', line 19 def configure_connection super db = ActiveRecord::VERSION::STRING.to_f >= 7.1 ? @raw_connection : @connection db.enable_load_extension(1) SqliteVec.load(db) db.enable_load_extension(0) end |