aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'master' into experimentAaron Patterson2013-05-211-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (49 commits) avoid creating a set if no where values are removed remove bind values for where clauses that were removed push partitioning up so bind elimination can get the removed wheres push partion logic down and initialization logic up the rake task `db:test:prepare` needs to load the configuration In batches test @total was assigned but not used. Use it in tests instead of Post.count partition the where values so we can access the removed ones eliminate some conditionals change method name to reflect what it actually does. save the where values in variables so we don't need to look them up all the time pass where values to the helper function rather than rely on internal state Spelling correction in Upgrading Guide Add has_named_route? to the mapper API No need CHANGELOG entry for a test fix Fix wrong `case_sensitive` in uniqueness validity test Fix typo in test name and documentation Missing ending ``` at 14.2 Merging of scopes copy edits[ci skip] Revert "Corrected documentation and added some more for the classify method in inflectors" Revert "Changed the CHANGELOG for active_support and improved the doc for inflector method classify" ...
| * Fix typo in test name and documentationVipul A M2013-05-201-1/+1
| |
* | experimentAaron Patterson2013-05-171-3/+2
|/
* added comments to test_invalid_type in sqlite3 adapter test and added ↵Ranjay Krishna2013-03-281-0/+4
| | | | valid_type? method to abstract_adapter.rb and removed unnecessary method from sqlite3 adapter
* Created a layer of abstraction for the valid type checking in schema dumper. ↵Ranjay Krishna2013-03-251-0/+9
| | | | Now, connection handles the check for valid types so that each database can handle the changes individually.
* Revert "checking in the abstractions for valid type checking:"Jon Leighton2013-02-151-9/+0
| | | | | | | | | | | | | | | | This reverts commit c321b309a9a90bbfa0912832c11b3fef52e71840. Conflicts: activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb Reason: failing test 1) Error: test_valid_column(ActiveRecord::ConnectionAdapters::SQLite3AdapterTest): NoMethodError: undefined method `column' for test/cases/adapters/sqlite3/sqlite3_adapter_test.rb:29:in `test_valid_column'
* checking in the abstractions for valid type checking:Ranjay Krishna2013-02-121-0/+9
|
* Remove not assigned variable warning from sqlite3 adapter testCarlos Antonio da Silva2012-10-291-1/+1
|
* SQLite3Adapter#type_cast should not mutate argumentsStefan Rusterholz2012-10-281-0/+6
|
* Revert "Merge pull request #6344"Piotr Sarnacki2012-06-251-6/+1
| | | | | | | | | | | | | | This commit needs to be reverted because it introduces difficulties when using sqlite3 in development and other databases in production. This happens because when you create time column in sqlite3, it's dumped as datetime in schema.rb file. This reverts commit 57d534ee9e441d078fcc161c0c78ebaa5aacd736, reversing changes made to 20f049fb50daee0c5e5a69b55b529af5737e8e3f. Conflicts: activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
* Fix logs name consistency.kennyj2012-05-191-15/+21
|
* Fix warning: ambiguous first argument.kennyj2012-05-181-1/+1
|
* Remove unneeded testsPiotr Sarnacki2012-05-161-12/+0
|
* SQLite3 doesn't actually support the 'time' type.Erich Menge2012-05-151-0/+5
|
* remove checks for encodings availabilitySergey Nartimov2011-12-251-5/+1
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-2/+0
|
* fixing tests on ruby 1.8Aaron Patterson2011-11-201-1/+3
|
* pushing caching and visitors down to the connectionAaron Patterson2011-11-191-0/+1
|
* Transactional fixtures enlist all active database connections.Jeremy Kemper2011-10-051-0/+4
| | | | You can use multiple databases in your tests without disabling transactional fixtures.
* Force binary data inserted for a string data type to utf-8 and log anAaron Patterson2011-08-251-0/+16
| | | | | | | | 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.
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* use index based substitution for bind parametersAaron Patterson2011-04-131-1/+1
|
* adding exec_insert for postgresqlAaron Patterson2011-04-111-0/+2
|
* adding exec_insert to sqlite3Aaron Patterson2011-04-111-0/+12
|
* moving sqlite_adapter_tests to sqlite3_adapter_test so that the tests are ↵Aaron Patterson2011-04-081-0/+215
| | | | actually run. :bomb:
* define_attr_method must serialize nil correctlyAaron Patterson2010-12-201-0/+5
|
* converted exec to exec_query for sqliteAaron Patterson2010-11-051-12/+12
|
* refactoring testsAaron Patterson2010-10-261-36/+20
|
* type casting bound value based on column associated with valueAaron Patterson2010-10-261-0/+18
|
* exec returns an AR::ResultAaron Patterson2010-10-261-0/+35
|
* adding bind value substitutionAaron Patterson2010-10-261-0/+9
|
* Move sqlite to sqlite3 for this tests to be run only on sqlite3 adapterSantiago Pastorino2010-06-281-0/+56
Signed-off-by: José Valim <jose.valim@gmail.com>