Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | runtime should be properly initialized. | José Valim | 2010-07-25 | 1 | -0/+4 | |
| | ||||||
* | testing sqlbypass destroy. caching connection during destroy | Aaron Patterson | 2010-07-23 | 1 | -0/+9 | |
| | ||||||
* | refactoring class methods to a module | Aaron Patterson | 2010-07-22 | 1 | -2/+5 | |
| | ||||||
* | session_id is a VARCHAR | Santiago Pastorino | 2010-07-22 | 1 | -5/+5 | |
| | ||||||
* | adding a test for session save | Aaron Patterson | 2010-07-22 | 1 | -0/+10 | |
| | ||||||
* | testing loaded? method and reducing funcalls | Aaron Patterson | 2010-07-21 | 1 | -0/+10 | |
| | ||||||
* | testing new_record? and converting to an attribute | Aaron Patterson | 2010-07-21 | 1 | -0/+5 | |
| | ||||||
* | starting sql bypass test, fixing create_table and drop_table! | Aaron Patterson | 2010-07-21 | 1 | -0/+22 | |
| | ||||||
* | initializing instance variables | Aaron Patterson | 2010-07-21 | 1 | -0/+63 | |
| | ||||||
* | removing unused models from tests | Subba Rao Pasupuleti | 2010-07-21 | 14 | -43/+1 | |
| | | | | | | [#5153 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | renaming tests by removing proxy_options from names | Neeraj Singh | 2010-07-21 | 1 | -5/+5 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Ensure default_scope can be overwriten by association conditions. | José Valim | 2010-07-21 | 1 | -0/+5 | |
| | ||||||
* | eagerly loaded association records should respect default_scope [#2931 ↵ | Subba Rao Pasupuleti | 2010-07-21 | 1 | -2/+16 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | update_attribute should not update readonly attributes | Neeraj Singh | 2010-07-21 | 1 | -1/+7 | |
| | | | | | | [#5106 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Timestamp columns of HABTM join table should record timestamps | Neeraj Singh | 2010-07-21 | 1 | -1/+34 | |
| | | | | [#5161 state:resolved] | |||||
* | Revert "save on parent should not cascade to child unless child changed ↵ | José Valim | 2010-07-21 | 1 | -18/+0 | |
| | | | | | | | | [#3353 state:open]" Please check Lighthouse for more information. This reverts commit 4a0d7c1a439c6ad8d35bf514761824e51fa07df2. | |||||
* | Strengthening the test for nested_attribute | Subba Rao Pasupuleti | 2010-07-21 | 1 | -1/+20 | |
| | | | | | | | | Loading the associate target in nested_attributes should load most recent attributes for child records marked for destruction Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | association load target shouldn't replace records | Szetobo | 2010-07-21 | 1 | -1/+13 | |
| | | | | | | | | from db if it is already loaded by nested attributes assignment [#5053 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | In nested_attributes when association is not loaded and association | Subba Rao Pasupuleti | 2010-07-21 | 1 | -0/+6 | |
| | | | | | | | | record is saved and then in memory record attributes should be saved [#5053 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | - without the id test is passing even if I change :allow_destroy from ↵ | Neeraj Singh | 2010-07-21 | 1 | -2/+47 | |
| | | | | | | 'false' - adding more tests to strengthen the test suite Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Ensure that primary_keys of HABTM records is not double quoted | Neeraj Singh | 2010-07-20 | 1 | -0/+18 | |
| | | | | [#5152 state:reslved] | |||||
* | Make use of severity levels | Santiago Pastorino | 2010-07-20 | 1 | -2/+3 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix a failing test in Railtie and properly define all severity levels in ↵ | José Valim | 2010-07-20 | 1 | -4/+2 | |
| | | | | MockLogger for LogSubscriber. | |||||
* | Test added, we shouldn't log sql calls when logger is not on debug? mode | Santiago Pastorino | 2010-07-20 | 1 | -0/+17 | |
| | ||||||
* | mocking out debing? call in the MockLogger | Aaron Patterson | 2010-07-19 | 1 | -0/+2 | |
| | ||||||
* | Make use of redefine_method, removed some more redefining warnings | Łukasz Strzałkowski | 2010-07-19 | 1 | -0/+1 | |
| | ||||||
* | Test for behaviour of befeore_type_cast when operating on datetime colmun | Łukasz Strzałkowski | 2010-07-19 | 1 | -0/+8 | |
| | ||||||
* | Removed warnings when a variable is shadowed | Łukasz Strzałkowski | 2010-07-19 | 3 | -7/+7 | |
| | ||||||
* | expected value should come first in assert_equal | Neeraj Singh | 2010-07-18 | 1 | -2/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | primary_keys_test reads better than pk_test | Neeraj Singh | 2010-07-18 | 1 | -0/+0 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | fixing typo | Neeraj Singh | 2010-07-18 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | removing extra whitespaces | Neeraj Singh | 2010-07-18 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | save on parent should not cascade to child unless child changed [#3353 ↵ | Subba Rao Pasupuleti | 2010-07-18 | 1 | -0/+18 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | adding a test for clearing stale connections | Aaron Patterson | 2010-07-16 | 1 | -0/+31 | |
| | ||||||
* | fixing test file name | Aaron Patterson | 2010-07-16 | 1 | -0/+0 | |
| | ||||||
* | fixing whitespace errors | Aaron Patterson | 2010-07-16 | 1 | -4/+4 | |
| | ||||||
* | Makes this test don't trust on the speed of execution | Santiago Pastorino | 2010-07-17 | 1 | -4/+5 | |
| | ||||||
* | fixing typeo. thanks bamnet! | Aaron Patterson | 2010-07-16 | 1 | -1/+1 | |
| | ||||||
* | moving persistence related tests to a new file | Neeraj Singh | 2010-07-16 | 2 | -327/+357 | |
| | | | | | | | | | | Before refactoring test result from AR: 2291 tests, 7180 assertions, 0 failures, 0 errors After the refactoring test result from AR: 2291 tests, 7180 assertions, 0 failures, 0 errors Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | JoinDependency#graft does not properly set parent join [#5124 state:resolved] | David Genord II | 2010-07-16 | 1 | -0/+7 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Revert "Style fixes" | Pratik Naik | 2010-07-15 | 1 | -3/+1 | |
| | | | | This reverts commit 3c300b31219f2af3ecd46ef22b04e5c5548db899. | |||||
* | Style fixes | wycats | 2010-07-14 | 1 | -1/+3 | |
| | ||||||
* | activerecord tests should inherit from ActiveRecord::TestCase | Aaron Patterson | 2010-07-14 | 4 | -4/+4 | |
| | ||||||
* | Let's initialize instance variables in the postgres adapter. | Aaron Patterson | 2010-07-14 | 1 | -0/+17 | |
| | ||||||
* | Remove unintentional API changes. [#1108] | Pratik Naik | 2010-07-14 | 1 | -41/+9 | |
| | ||||||
* | Style fixes | Pratik Naik | 2010-07-14 | 1 | -3/+1 | |
| | ||||||
* | Set destroyed=true in opt locking's destroy [#5058 state:resolved] | Jacob Lewallen | 2010-07-14 | 1 | -1/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | count method should not take options if it is operated on has_many ↵ | Neeraj Singh | 2010-07-13 | 1 | -0/+26 | |
| | | | | | | | | association which has finder_sql or counter_sql [#2395 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | update_attributes and update_attributes! are now wrapped in a transaction | Neeraj Singh | 2010-07-13 | 1 | -1/+22 | |
| | | | | | | [#922 state:resovled] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Added reorder delegation for ActiveRecord::Base(to be able to overwrite the ↵ | Vitalii Khustochka | 2010-07-13 | 1 | -0/+6 | |
| | | | | | | default_scope ordering in the named scope [#5093 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> |