Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Force binary data inserted for a string data type to utf-8 and log an | Aaron Patterson | 2011-08-25 | 1 | -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 names | Aaron Patterson | 2011-08-16 | 1 | -1/+1 |
| | |||||
* | Make it the responsibility of the connection to hold onto an ARel visitor ↵ | Jon Leighton | 2011-08-08 | 1 | -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 logged | Gustavo Delfino | 2011-08-06 | 1 | -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 #2162 | Aaron Patterson | 2011-07-20 | 1 | -0/+5 |
| | |||||
* | stop using boolean expressions because of the side effects | Aaron Patterson | 2011-05-27 | 1 | -1/+4 |
| | |||||
* | close statment only if its not closed | Hemant Kumar | 2011-05-28 | 1 | -1/+1 |
| | |||||
* | work around bug in the sqlite3 bindings. fixes #1289 | Aaron Patterson | 2011-05-27 | 1 | -0/+1 |
| | |||||
* | Remove extra white-space on some exception messages. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Removed AS core_ext/kernel/requires as it's not used and is bad practice. | Josh Kalderimis | 2011-05-23 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-01 | 1 | -1/+12 |
|\ | | | | | | | | | Conflicts: railties/guides/source/contributing_to_ruby_on_rails.textile | ||||
| * | Merge branch 'master' of github.com:lifo/docrails | Dan Pickett | 2011-04-29 | 1 | -1/+12 |
| |\ | |||||
| | * | Added some docs on SQLite adapter | Sebastian Martinez | 2011-04-22 | 1 | -0/+5 |
| | | | |||||
| | * | Make this docs more consistent with the rest of the docs present | Sebastian Martinez | 2011-04-22 | 1 | -1/+1 |
| | | | |||||
| | * | Added docs for #rename_table on some adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+4 |
| | | | |||||
| | * | Added docs for #columns on some adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+1 |
| | | | |||||
| | * | Merge branch 'master' of git://github.com/rails/rails | Xavier Noria | 2011-04-23 | 1 | -4/+0 |
| | |\ | |||||
| | * | | Added docs for #indexes on adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+1 |
| | | | | |||||
* | | | | using bind parameters for updates | Aaron Patterson | 2011-04-30 | 1 | -0/+1 |
|/ / / | |||||
* | | | sqlite3 supports prepared statement deletes | Aaron Patterson | 2011-04-29 | 1 | -0/+5 |
| | | | |||||
* | | | Use existing #empty_insert_statement_value for an insert with no columns. | Ken Collins | 2011-04-24 | 1 | -4/+0 |
| |/ |/| | |||||
* | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-23 | 1 | -2/+7 |
|\| | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
| * | copy-edits 0e2644c | Xavier Noria | 2011-04-23 | 1 | -1/+1 |
| | | |||||
| * | copy-edits e2656e0 | Xavier Noria | 2011-04-23 | 1 | -2/+2 |
| | | |||||
| * | copy-edits 3d45964 | Xavier Noria | 2011-04-23 | 1 | -1/+1 |
| | | |||||
| * | Added docs for #disconnect! on adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+2 |
| | | |||||
| * | Added missing docs for clear_cache! on adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+1 |
| | | |||||
| * | Added missing docs for +supports_primary_key?+ on some adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+1 |
| | | |||||
| * | Added missing docs for +support_migrations?+ on some adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+1 |
| | | |||||
| * | Have a more connection specific rdoc for +supports_statement_cache?+ | Sebastian Martinez | 2011-04-22 | 1 | -2/+2 |
| | | |||||
* | | Move #exec_insert to abstract adapter's database statements. | Ken Collins | 2011-04-22 | 1 | -4/+0 |
|/ | |||||
* | insert statements are prepared, but values are not escaped properly | Aaron Patterson | 2011-04-14 | 1 | -0/+4 |
| | |||||
* | adding a type cast method for prepared statements | Aaron Patterson | 2011-04-14 | 1 | -1/+1 |
| | |||||
* | make sqlite insert_sql more consistent with other adapters | Aaron Patterson | 2011-04-11 | 1 | -1/+2 |
| | |||||
* | adding exec_insert to sqlite3 | Aaron Patterson | 2011-04-11 | 1 | -0/+4 |
| | |||||
* | sql logger ignores schema statements | Aaron Patterson | 2011-03-28 | 1 | -2/+2 |
| | |||||
* | pushing id insertion and prefetch primary keys down to Relation#insert | Aaron Patterson | 2011-03-22 | 1 | -0/+4 |
| | |||||
* | log method takes an option list of bind values | Aaron Patterson | 2011-02-09 | 1 | -1/+1 |
| | |||||
* | adjust query counts to be consistent across databases, make sure database ↵ | Aaron Patterson | 2011-02-04 | 1 | -3/+15 |
| | | | | log the same things | ||||
* | SQLite3 has supported savepoints since version 3.6.8, we should use this! | Jon Leighton | 2011-01-11 | 1 | -0/+16 |
| | |||||
* | remove unused string substitution | Aaron Patterson | 2011-01-08 | 1 | -6/+1 |
| | |||||
* | converted exec to exec_query for sqlite | Aaron Patterson | 2010-11-05 | 1 | -11/+11 |
| | |||||
* | only do string substitution on column names once, remove intermediate data ↵ | Aaron Patterson | 2010-10-30 | 1 | -7/+6 |
| | | | | structures | ||||
* | columns are always strings | Aaron Patterson | 2010-10-30 | 1 | -1/+1 |
| | |||||
* | no need to to_i, sqlite does that for us | Aaron Patterson | 2010-10-30 | 1 | -2/+2 |
| | |||||
* | renaming bind_values to binds where it makes sense | Aaron Patterson | 2010-10-26 | 1 | -5/+5 |
| | |||||
* | adding backwards compatibility for non-prepare statement handling drivers | Aaron Patterson | 2010-10-26 | 1 | -0/+6 |
| | |||||
* | one more mysql test left! | Aaron Patterson | 2010-10-26 | 1 | -3/+2 |
| | |||||
* | clearing statements on disconnect and reset | Aaron Patterson | 2010-10-26 | 1 | -0/+6 |
| | |||||
* | type casting bound value based on column associated with value | Aaron Patterson | 2010-10-26 | 1 | -1/+3 |
| |