Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test to ensure that respond_to? delegates to arel | Aaron Patterson | 2010-08-06 | 1 | -0/+19 |
| | |||||
* | sorry AR, my privates are none of your business | Aaron Patterson | 2010-08-06 | 1 | -7/+0 |
| | |||||
* | do not rely on arel class structure | Aaron Patterson | 2010-08-06 | 1 | -0/+7 |
| | |||||
* | query value is converted to_s instead of to_yaml | RainerBlessing | 2010-08-03 | 1 | -0/+8 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Dynamic finder method like scoped_by_* create methods so that | Neeraj Singh | 2010-08-03 | 1 | -0/+6 |
| | | | | | | | method_missing is not hit next time. Adding a test for this scenario. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Making Active Record base_test.rb thinner by moving tests | Neeraj Singh | 2010-08-03 | 5 | -534/+545 |
| | | | | | | | | | | | | to relevant files. Number of assertions before refactoring: 2391 tests, 7579 assertions, 0 failures, 0 errors Number of assertions after refactoring: 2391 tests, 7579 assertions, 0 failures, 0 errors Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Eager loading an association should not change the count of children | Neeraj Singh | 2010-08-02 | 5 | -0/+38 |
| | | | | | | [#4971 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Tidy up previous commit. | José Valim | 2010-08-02 | 1 | -1/+1 |
| | |||||
* | test and fix collection_singular_ids= with string primary keys [#5125 ↵ | Robert Pankowecki | 2010-08-02 | 3 | -2/+43 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add an internal (private API) after_touch callback. [#5271 state:resolved] | José Valim | 2010-08-02 | 1 | -4/+4 |
| | |||||
* | added failing touch propagation test | Jakub Kuźma | 2010-08-02 | 2 | -0/+19 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | reverting where() functionality, adding a test | Aaron Patterson | 2010-07-30 | 1 | -0/+5 |
| | |||||
* | Don't increment and then decrement the same counter when re-assigning a ↵ | Tarmo Tänav | 2010-07-29 | 1 | -0/+4 |
| | | | | | | | | belongs_to association [#2786 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | fixed joining of attributes when using find_or_create_by with multiple ↵ | Jon Buda | 2010-07-28 | 1 | -0/+9 |
| | | | | | | attributes through an association Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | missing requires added | Santiago Pastorino | 2010-07-26 | 1 | -0/+2 |
| | |||||
* | Move runtime back to the Thread.current | José Valim | 2010-07-26 | 1 | -0/+4 |
| | |||||
* | Removing unnecessary code [#5192 state:resolved] | Thiago Pradi | 2010-07-26 | 1 | -1/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | do not execute the session tests within transactions | Aaron Patterson | 2010-07-25 | 1 | -0/+2 |
| | |||||
* | Object#returning removed | Santiago Pastorino | 2010-07-25 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move runtime back to connection. | José Valim | 2010-07-25 | 1 | -4/+0 |
| | |||||
* | Revert the previous three commits. | José Valim | 2010-07-25 | 1 | -0/+4 |
| | | | | | | * AS::Notifications#instrument should not measure anything, it is not its responsibility; * Adding another argument to AS::Notifications#instrument API needs to be properly discussed; | ||||
* | use a hash to collect optional statistics about the instrumentation | Aaron Patterson | 2010-07-25 | 1 | -4/+0 |
| | |||||
* | 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 | 2 | -0/+6 |
| | |||||
* | eagerly loaded association records should respect default_scope [#2931 ↵ | Subba Rao Pasupuleti | 2010-07-21 | 3 | -2/+22 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | update_attribute should not update readonly attributes | Neeraj Singh | 2010-07-21 | 4 | -2/+13 |
| | | | | | | [#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 | 2 | -1/+36 |
| | | | | [#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 | 4 | -0/+45 |
| | | | | [#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 |
| |