Skip to content

Commit

Permalink
doc: document how to use extensions in a rails app
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
flavorjones committed Dec 4, 2024
1 parent 59c30ec commit 47f904e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/sqlite3/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ module SQLite3
# #enable_load_extension; however it is still necessary to call #enable_load_extensions before any
# subsequently invocations of #load_extension on the initialized Database object.
#
# You can load extensions in a Rails application by using the +extensions:+ configuration option:
#
# # config/database.yml
# development:
# adapter: sqlite3
# extensions:
# - .sqlpkg/nalgeon/crypto/crypto.so # a filesystem path
# - <%= SQLean::UUID.to_path %> # or ruby code returning a path
#
class Database
attr_reader :collations

Expand Down

0 comments on commit 47f904e

Please sign in to comment.