aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Move mysql2 test for when adapter will be loadedschneems2013-12-242-7/+7
* Raise NoDatabaseError when db does not existschneems2013-12-242-0/+21
* Deprecate use of string in establish_connection as connection lookupJosé Valim2013-12-244-6/+6
* Only build a ConnectionSpecification if requiredJosé Valim2013-12-241-28/+26
* Merge pull request #13463 from josevalim/jv-envJosé Valim2013-12-231-2/+10
|\
| * Guarantee the connection resolver handles string valuesJosé Valim2013-12-231-2/+10
* | Tidy up fix for PG extensions quotingCarlos Antonio da Silva2013-12-233-6/+18
* | Serialize postgres' hstore, json and array types correctly in AR update methods.Tadas Tamosauskas2013-12-233-0/+18
* | Do not consider PG array columns as number or text columnsCarlos Antonio da Silva2013-12-231-2/+6
|/
* Tell how to Create a Database in Error Messageschneems2013-12-231-0/+7
* On destroying do not touch destroyed belongs to association.Paul Nikitochkin2013-12-231-0/+8
* Merge pull request #13446 from kuldeepaggarwal/resolver-test-casesYves Senn2013-12-231-0/+10
|\
| * added test cases for Resolver#connection_url_to_hashKuldeep Aggarwal2013-12-231-0/+10
* | fix quoting non-stringsDamien Mathieu2013-12-221-0/+6
|/
* fix url connections for sqlite3Aaron Patterson2013-12-201-0/+22
* Merge pull request #13412 from arthurnn/quote_id_not_idRafael Mendonça França2013-12-191-0/+7
|\
| * quoting: Check if id is a valid method before using itArthur Neves2013-12-191-0/+7
* | fix default select when from is usedCody Cutrer2013-12-191-0/+5
|/
* Fix indent in PG array testsCarlos Antonio da Silva2013-12-191-5/+5
* Merge pull request #13395 from kuldeepaggarwal/postgres-table-ref-regexCarlos Antonio da Silva2013-12-191-0/+12
|\
| * Fix PostgreSQL insert to properly extract table name from multiline string SQL.Kuldeep Aggarwal2013-12-191-0/+12
* | Prefer assert_raise instead of flunk + rescue to test for exceptionsCarlos Antonio da Silva2013-12-192-10/+6
* | Merge pull request #13393 from matthewd/fix_pg_range_testsCarlos Antonio da Silva2013-12-191-11/+11
|\ \
| * | Fix PostgreSQL range testsMatthew Draper2013-12-191-11/+11
* | | set encoding UTF-8 for accepting multibyte characterKuldeep Aggarwal2013-12-191-0/+2
* | | Merge pull request #13366 from vipulnsward/minitest-namespace-changeGodfrey Chan2013-12-181-1/+1
|\ \ \ | |/ / |/| |
| * | Change all `MiniTest` to `Minitest` since, `MiniTest` namespace has been rena...Vipul A M2013-12-181-1/+1
| |/
* / Fix to_param when attribute has multibyte characterrono232013-12-191-0/+6
|/
* Add a failing test for assigning nil to a polymorphic belongs_to not nullifyi...Jeremy Kemper2013-12-171-0/+13
* Merge pull request #13314 from laurocaetano/blacklist_array_methodsJeremy Kemper2013-12-171-4/+11
|\
| * Create a blacklist to disallow mutator methods to be delegated to `Array`.Lauro Caetano2013-12-171-4/+11
* | Merge pull request #13341 from carlosantoniodasilva/ca-i18nCarlos Antonio da Silva2013-12-171-0/+3
|\ \ | |/ |/|
| * Disable available locales checks to avoid warnings running the testsCarlos Antonio da Silva2013-12-171-0/+3
* | Merge pull request #13343 from akshay-vishnoi/test-casesRafael Mendonça França2013-12-171-0/+4
|\ \ | |/ |/|
| * test case for #limit added - picking latest value from limitAkshay Vishnoi2013-12-171-0/+4
* | Better support for `where()` conditions that use an association name.Martin Emde2013-12-161-0/+34
|/
* support creating temporary tables from queriesCody Cutrer2013-12-142-0/+35
* Merge pull request #13306 from kassio/masterRafael Mendonça França2013-12-131-1/+1
|\
| * Fix mysql to support duplicated column namesKassio Borges2013-12-131-1/+1
* | refactor, reuse assertions in range_test.rb.Yves Senn2013-12-131-186/+111
* | extract PG range tests from datatype_test.rb into range_test.rbYves Senn2013-12-133-296/+321
|/
* Add a bunch of Relation -> Array delegate methods to the whitelist. This won'...Jeremy Kemper2013-12-121-28/+14
* Use `public_send` instead of just use `send`.Lauro Caetano2013-12-121-4/+4
* Use a whitelist to delegate methods to arrayLauro Caetano2013-12-121-57/+32
* Remove delegation test.laurocaetano2013-12-121-17/+46
* make sure cached table name is a string. fixes #12582Aaron Patterson2013-12-122-0/+11
* Get rid of hack for freezing time on AR testsCarlos Antonio da Silva2013-12-122-23/+5
* Merge pull request #13264 from laurocaetano/fix_dynamic_finder_with_reserved_...Rafael Mendonça França2013-12-112-0/+9
|\
| * Prevent invalid code when using dynamic finders with Ruby's reserved words.Lauro Caetano2013-12-112-0/+9
* | Revert the whole refactoring in the association builder classes.Rafael Mendonça França2013-12-111-1/+2