aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | PostgreSQL does not work in the same way of the other adaptersRafael Mendonça França2012-02-081-3/+7
| | | | | |
| * | | | | AR::Relation#pluck: improve to work with joinsBogdan Gusiev2012-02-081-0/+11
| | | | | |
| * | | | | Fix attribute_before_type_cast for serialized attributes. Fixes #4837.Jon Leighton2012-02-071-0/+15
| |/ / / /
* | | | | fixing the list of cached columnsAaron Patterson2012-02-091-1/+3
| | | | |
* | | | | only exclude serialized columns from cacheable columnsAaron Patterson2012-02-091-1/+1
| | | | |
* | | | | postgresql correctly typecasts back to Ruby, so change assertionsAaron Patterson2012-02-071-2/+4
| | | | |
* | | | | column_types hash is used for doing typecastingAaron Patterson2012-02-071-1/+21
| | | | |
* | | | | column types are passed from the result set to the instantiated AR objectAaron Patterson2012-02-071-0/+4
|/ / / /
* | | | let automatic EXPLAIN ignore CACHE notificationsXavier Noria2012-02-031-0/+48
| | | |
* | | | Get ActiveRecord::TestCase back on its feet, despite deprecation. It ↵Jeremy Kemper2012-02-052-91/+7
| | | | | | | | | | | | | | | | requires SQLCounter which was moved to AR internal tests only.
* | | | Merge pull request #4856 from ihid/store_null_bugAaron Patterson2012-02-023-3/+14
|\ \ \ \ | | | | | | | | | | Allow store to be a not null column.
| * | | | Allow store to be a not null column.Jeremy Walker2012-02-023-3/+14
| | | | |
* | | | | columns method doesn't have name argumentRafael Mendonça França2012-02-021-5/+4
| | | | |
* | | | | Remove useless argument in #columns.Sebastian Martinez2012-02-021-1/+1
| | | | |
* | | | | Merge pull request #4543 from jdelStrother/find_or_initJon Leighton2012-02-011-0/+12
|\ \ \ \ \ | |/ / / / |/| | | | Don't instantiate two objects in collection proxy / find_or_instantiate_by
| * | | | Don't instantiate two objects in collection proxy / find_or_instantiator_byJonathan del Strother2012-01-191-0/+12
| | | | |
* | | | | Fix typoRafael Mendonça França2012-02-011-2/+2
| | | | |
* | | | | Use human attribute name to show the dependent destroy messageRafael Mendonça França2012-02-011-1/+25
| | | | |
* | | | | Merge pull request #4828 from railsaholic/fix_error_messageJosé Valim2012-02-012-2/+2
|\ \ \ \ \ | | | | | | | | | | | | fix has_one, has_many restrict error message
| * | | | | fix has_one, has_many restrict error messageManoj2012-02-012-2/+2
| | | | | |
* | | | | | Merge pull request #4806 from KL-7/do-not-serialize-nilAaron Patterson2012-02-011-1/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Do not serialize nil in serialized attribute.
| * | | | | | Do not serialize nil in serialized attribute.Kirill Lashuk2012-01-311-1/+14
| | | | | | |
* | | | | | | Merge pull request #4809 from cfeist/feist-sqlite-binary-corruptionAaron Patterson2012-02-012-1/+2
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Fix for SQLite binary data corrupter (to master branch)
| * | | | | | Added test to illustrate bad binary blobs.Chris Feist2012-01-312-1/+2
| | | | | | |
* | | | | | | fix a typo [ci skip]Vijay Dev2012-02-011-1/+1
|/ / / / / /
* | | | | | Revert "Merge pull request #4746 from jenslukowski/issue4718"Aaron Patterson2012-01-311-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5cad7a0dba652f3e942e58087bc88ba5c5390edc, reversing changes made to bb842e8d2111e50b21a14b8bd6d89371a4b9cd68.
* | | | | | Merge pull request #4805 from xuanxu/none_and_null_object_patternJon Leighton2012-01-311-0/+13
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Added `none` query method to return zero records.
| * | | | | Added `none` query method to return zero records.Juanjo Bazán2012-01-311-0/+13
| | | | | | | | | | | | | | | | | | And added NullRelation class implementing the null object pattern for the `Relation` class.
* | | | | | Merge pull request #4742 from petervandenabeele/masterAaron Patterson2012-01-311-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Set the timezone correctly for a test in activerecord/../base_test.rb
| * | | | | | Set default_timezone explicitly for a test in activerecord/../base_test.rbPeter Vandenabeele2012-01-291-0/+3
| | | | | | |
* | | | | | | Merge pull request #4746 from jenslukowski/issue4718Aaron Patterson2012-01-311-0/+8
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Test and fix for issue 4718
| * | | | | | failing test case for Issue 4718Jens Lukowski2012-01-281-0/+8
| |/ / / / /
* | | | | | Merge pull request #4791 from gregolsen/reflection_test_fixedJosé Valim2012-01-313-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | reflection test fixed
| * | | | | | test_get_ids_for_ordered_association fixedgregolsen2012-01-312-2/+2
| | | | | | |
| * | | | | | reflection test fixedgregolsen2012-01-311-2/+2
| | | | | | |
* | | | | | | Remove deprecation warnings from testsRafael Mendonça França2012-01-313-13/+28
|/ / / / / /
* | | | | | Merge pull request #4783 from gregolsen/ids_reader_fixJon Leighton2012-01-312-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | ids_reader method fixed, test added to has_many association (for PostgreSQL)
| * | | | | | ids_reader method fixed, test added to has_many associationgregolsen2012-01-312-0/+5
| | | | | | |
* | | | | | | Merge pull request #4727 from railsaholic/dependent_restrict_should_add_errorJon Leighton2012-01-312-14/+79
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | has_many/has_one, :dependent => :restrict, deprecation added
| * | | | | | suggested fixes for :dependent => :restrict deprecation.Manoj2012-01-312-32/+10
| | | | | | |
| * | | | | | has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-292-14/+101
| |/ / / / /
* | | | | | Fix GH #4754. Remove double-quote when using ANSI_QUOTESkennyj2012-01-311-0/+16
| | | | | |
* | | | | | Replaced all 'for' loops with Enumerable#eachNathan Broadbent2012-01-303-5/+5
|/ / / / /
* | | | | Add `create_join_table` migration helper to create HABTM join tablesRafael Mendonça França2012-01-273-1/+82
| | | | |
* | | | | Fix regression from Rails 3.1Paul McMahon2012-01-271-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under Rails 3.1, you were allowed to pass a hash to a find_or_create method with multiple attribute names, but this was broken as the arguments were being improperly validated.
* | | | | Merge pull request #4696 from rafaelfranca/issue-4653Aaron Patterson2012-01-261-2/+0
| | | | | | | | | | | | | | | | | | | | Remove extra attributes from HABTM join tables in AR tests
* | | | | disable automatic explain if there is no logger [closes #4671]Xavier Noria2012-01-261-1/+15
| | | | |
* | | | | fix fixtures test as table_name is a string nowSergey Nartimov2012-01-261-2/+2
| | | | |
* | | | | call to_s on value passed to table_name=Sergey Nartimov2012-01-261-0/+5
| | | | |
* | | | | The primary key is always initialized in the @attributes hash to nil (unlessAaron Patterson2012-01-252-2/+3
| | | | | | | | | | | | | | | | | | | | another value has been specified).