Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | reload bob after his journy to a new timezone | Brian Lopez | 2010-08-20 | 1 | -0/+1 | |
| | ||||||
* | fisting after_rollback and after commit callbacks | Aaron Patterson | 2010-08-20 | 2 | -5/+14 | |
| | ||||||
* | While creating a new record using has_many create method default scope of ↵ | Neeraj Singh | 2010-08-19 | 4 | -0/+32 | |
| | | | | | | | | | | | child should be respected. author.posts.create should take into account default_scope defined on post. [#3939: state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | removing useless ternary | Aaron Patterson | 2010-08-19 | 1 | -1/+1 | |
| | ||||||
* | Memoize STI class lookups for the duration of a request | Jeremy Kemper | 2010-08-19 | 1 | -1/+1 | |
| | ||||||
* | avoids warnings about mismatched indentations in Ruby 1.9.2 | Xavier Noria | 2010-08-19 | 2 | -9/+6 | |
| | ||||||
* | get rid of the warning "+ after local variable is interpreted as binary ↵ | Xavier Noria | 2010-08-19 | 1 | -13/+13 | |
| | | | | operator even though it seems like unary operator" in Ruby 1.9.2 | |||||
* | Bug Fix -- clean up connection after stored procedure [#3151 state:resolved] | Jeff Lawson | 2010-08-17 | 3 | -0/+27 | |
| | ||||||
* | Restore pet -> owner relationship to the previous state | Santiago Pastorino | 2010-08-16 | 1 | -1/+1 | |
| | | | | [#5365] | |||||
* | added testcase for belongs_to with a counter_cache and touch | Mark Turner | 2010-08-16 | 1 | -0/+16 | |
| | | | | | | [#5365 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | code gardening: we have assert_(nil|blank|present), more concise, with ↵ | Xavier Noria | 2010-08-17 | 10 | -14/+14 | |
| | | | | better default failure messages - let's use them | |||||
* | added dependencies in Gemfile for running ActiveRecord tests with Oracle ↵ | Raimonds Simanovskis | 2010-08-16 | 1 | -6/+1 | |
| | | | | database | |||||
* | assert_equal here | Santiago Pastorino | 2010-08-16 | 1 | -2/+2 | |
| | ||||||
* | Revert "Makes AR use AMo to_key implementation" | Santiago Pastorino | 2010-08-15 | 1 | -1/+1 | |
| | | | | This reverts commit 36a84a4f15f29b41c7cac2f8de410055006a8a8d. | |||||
* | Makes topics.written_on null => true back again some tests rely on that | Santiago Pastorino | 2010-08-15 | 1 | -0/+3 | |
| | ||||||
* | Add missing model | Santiago Pastorino | 2010-08-14 | 1 | -0/+2 | |
| | ||||||
* | Both tests are using the same model, move the model to another file and add ↵ | Santiago Pastorino | 2010-08-14 | 3 | -15/+17 | |
| | | | | the missing require | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 35 | -102/+101 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | Makes AR use AMo to_key implementation | Santiago Pastorino | 2010-08-13 | 1 | -1/+1 | |
| | | | | [#5249] | |||||
* | Ensure we can nest include calls [#5285 state:resolved] | Neeraj Singh | 2010-08-12 | 5 | -1/+26 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Make update_attribute behave as in Rails 2.3 and document the behavior ↵ | José Valim | 2010-08-12 | 2 | -20/+28 | |
| | | | | intrinsic to its implementation. | |||||
* | fixed indentation in test cases | Mark Turner | 2010-08-11 | 3 | -4/+3 | |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Raising exception if fixture file can't be found | Paul Hieromnimon | 2010-08-11 | 1 | -0/+11 | |
| | ||||||
* | Added test case to verify that transaction callbacks are correctly ↵ | Tobias Lütke | 2010-08-09 | 1 | -0/+41 | |
| | | | | propagated to class observers | |||||
* | ignore this test for mysql2 | Brian Lopez | 2010-08-09 | 1 | -13/+15 | |
| | ||||||
* | bringing over latest from master | Brian Lopez | 2010-08-09 | 9 | -547/+581 | |
|\ | ||||||
| * | 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> | |||||
* | | skip the before_type_cast_on_datetime test entirely for mysql2 | Brian Lopez | 2010-08-02 | 1 | -17/+18 | |
| | | ||||||
* | | move reload after touch | Brian Lopez | 2010-08-02 | 1 | -1/+1 | |
| | | ||||||
* | | reload the owner model after update | Brian Lopez | 2010-08-02 | 1 | -0/+1 | |
| | | ||||||
* | | Merge branch 'master' into mysql2 | Brian Lopez | 2010-08-02 | 9 | -3/+101 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Bring returning back to ease migration. Remove duplicated logic. Eager loading an association should not change the count of children fix loading of different elements in array then int and string [#5036 state:resolved] Tidy up previous commit. test and fix collection_singular_ids= with string primary keys [#5125 state:resolved] Handle edge cases in the previous patch. Improved how AppGenerator generates the application name. It now detects the current app name whenever possible. This means that renaming the residing directory will not effect the app name generated by AppGenerator. ActiveModel::Errors json serialization to work as Rails 3b4 [#5254 state:resolved] Add missing require in ActiveSupport::HashWithIndifferentAccess [#5189 state:resolved] Add an internal (private API) after_touch callback. [#5271 state:resolved] added failing touch propagation test Makes rails destroy scaffold don't duplicate routes.draw do |map| |map| when using the deprecated syntax Failing test to check for route file corruption if legacy map parameter is used. [#5263 state:open] Corrected the rake test:units and test:functionals description [#5251 state:committed] Use AS::OrderedHash when trusting in the order of the hash Fix label form helper to use I18n and html options, without the need of 'nil' text param: | |||||
| * | 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> | |||||
* | | update tests for mysql2 support | Brian Lopez | 2010-08-02 | 15 | -19/+459 | |
|/ | ||||||
* | 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> |