aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
* Force binary data inserted for a string data type to utf-8 and log anAaron Patterson2011-08-251-3/+18
| | | | | | | | error. Strings tagged as binary will be stored in sqlite3 as blobs. It is an error to insert binary data to a string column, so an error is emitted in the log file. People are highly encouraged to track down the source of the binary strings and make sure that the encoding is set correctly before inserting to the database.
* prevent sql injection attacks by escaping quotes in column namesAaron Patterson2011-08-161-1/+1
|
* Make it the responsibility of the connection to hold onto an ARel visitor ↵Jon Leighton2011-08-081-0/+4
| | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
* sqlite transactions now loggedGustavo Delfino2011-08-061-3/+3
| | | motivation: http://stackoverflow.com/questions/6892630/sqlite-transactions-not-showing-in-test-log
* bigdecimal should be typecast to a float on sqlite3. fixes #2162Aaron Patterson2011-07-201-0/+5
|
* stop using boolean expressions because of the side effectsAaron Patterson2011-05-271-1/+4
|
* close statment only if its not closedHemant Kumar2011-05-281-1/+1
|
* work around bug in the sqlite3 bindings. fixes #1289Aaron Patterson2011-05-271-0/+1
|
* Remove extra white-space on some exception messages.Sebastian Martinez2011-05-231-1/+1
|
* Removed AS core_ext/kernel/requires as it's not used and is bad practice.Josh Kalderimis2011-05-231-1/+0
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-011-1/+12
|\ | | | | | | | | Conflicts: railties/guides/source/contributing_to_ruby_on_rails.textile
| * Merge branch 'master' of github.com:lifo/docrailsDan Pickett2011-04-291-1/+12
| |\
| | * Added some docs on SQLite adapterSebastian Martinez2011-04-221-0/+5
| | |
| | * Make this docs more consistent with the rest of the docs presentSebastian Martinez2011-04-221-1/+1
| | |
| | * Added docs for #rename_table on some adaptersSebastian Martinez2011-04-221-0/+4
| | |
| | * Added docs for #columns on some adaptersSebastian Martinez2011-04-221-0/+1
| | |
| | * Merge branch 'master' of git://github.com/rails/railsXavier Noria2011-04-231-4/+0
| | |\
| | * | Added docs for #indexes on adaptersSebastian Martinez2011-04-221-0/+1
| | | |
* | | | using bind parameters for updatesAaron Patterson2011-04-301-0/+1
|/ / /
* | | sqlite3 supports prepared statement deletesAaron Patterson2011-04-291-0/+5
| | |
* | | Use existing #empty_insert_statement_value for an insert with no columns.Ken Collins2011-04-241-4/+0
| |/ |/|
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-231-2/+7
|\| | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * copy-edits 0e2644cXavier Noria2011-04-231-1/+1
| |
| * copy-edits e2656e0Xavier Noria2011-04-231-2/+2
| |
| * copy-edits 3d45964Xavier Noria2011-04-231-1/+1
| |
| * Added docs for #disconnect! on adaptersSebastian Martinez2011-04-221-0/+2
| |
| * Added missing docs for clear_cache! on adaptersSebastian Martinez2011-04-221-0/+1
| |
| * Added missing docs for +supports_primary_key?+ on some adaptersSebastian Martinez2011-04-221-0/+1
| |
| * Added missing docs for +support_migrations?+ on some adaptersSebastian Martinez2011-04-221-0/+1
| |
| * Have a more connection specific rdoc for +supports_statement_cache?+Sebastian Martinez2011-04-221-2/+2
| |
* | Move #exec_insert to abstract adapter's database statements.Ken Collins2011-04-221-4/+0
|/
* insert statements are prepared, but values are not escaped properlyAaron Patterson2011-04-141-0/+4
|
* adding a type cast method for prepared statementsAaron Patterson2011-04-141-1/+1
|
* make sqlite insert_sql more consistent with other adaptersAaron Patterson2011-04-111-1/+2
|
* adding exec_insert to sqlite3Aaron Patterson2011-04-111-0/+4
|
* sql logger ignores schema statementsAaron Patterson2011-03-281-2/+2
|
* pushing id insertion and prefetch primary keys down to Relation#insertAaron Patterson2011-03-221-0/+4
|
* log method takes an option list of bind valuesAaron Patterson2011-02-091-1/+1
|
* adjust query counts to be consistent across databases, make sure database ↵Aaron Patterson2011-02-041-3/+15
| | | | log the same things
* SQLite3 has supported savepoints since version 3.6.8, we should use this!Jon Leighton2011-01-111-0/+16
|
* remove unused string substitutionAaron Patterson2011-01-081-6/+1
|
* converted exec to exec_query for sqliteAaron Patterson2010-11-051-11/+11
|
* only do string substitution on column names once, remove intermediate data ↵Aaron Patterson2010-10-301-7/+6
| | | | structures
* columns are always stringsAaron Patterson2010-10-301-1/+1
|
* no need to to_i, sqlite does that for usAaron Patterson2010-10-301-2/+2
|
* renaming bind_values to binds where it makes senseAaron Patterson2010-10-261-5/+5
|
* adding backwards compatibility for non-prepare statement handling driversAaron Patterson2010-10-261-0/+6
|
* one more mysql test left!Aaron Patterson2010-10-261-3/+2
|
* clearing statements on disconnect and resetAaron Patterson2010-10-261-0/+6
|
* type casting bound value based on column associated with valueAaron Patterson2010-10-261-1/+3
|