| Commit message (Expand) | Author | Age | Files | Lines |
* | User assert_kind_of, invert assert_equal expectations | Carlos Antonio da Silva | 2012-11-29 | 3 | -9/+9 |
* | Added STI support to init and building associations | Jason Rush | 2012-11-29 | 3 | -0/+86 |
* | Corrects typo in test name | Andy Lindeman | 2012-11-26 | 1 | -1/+1 |
* | Merge pull request #8291 from senny/8265_build_with_polymorphic_association | Rafael Mendonça França | 2012-11-22 | 1 | -0/+8 |
|\ |
|
| * | prevent mass assignment of polymorphic type when using `build` | Yves Senn | 2012-11-22 | 1 | -0/+8 |
* | | Deprecate Relation#sum with a block. | Carlos Antonio da Silva | 2012-11-21 | 1 | -0/+6 |
|/ |
|
* | Test for has_many bug on unsaved records | George Brocklehurst | 2012-11-16 | 1 | -0/+7 |
* | Merge and add tests related to 5215 | Vipul A M | 2012-11-12 | 3 | -18/+25 |
* | Do not create useless database transaction when building `has_one` association. | Bogdan Gusiev | 2012-11-10 | 1 | -0/+6 |
* | Merge pull request #8116 from senny/7993_configure_counter_cache_for_has_many | Jon Leighton | 2012-11-09 | 1 | -0/+8 |
|\ |
|
| * | :counter_cache option for to support custom named counter caches. Closes #7993 | Yves Senn | 2012-11-04 | 1 | -0/+8 |
* | | Delegate all calculations to the scope. | Jon Leighton | 2012-11-09 | 1 | -0/+1 |
* | | CollectionProxy#pluck issues no query for a new_record? owner | Jon Leighton | 2012-11-09 | 1 | -0/+1 |
* | | Relations built off collection associations with an unsaved owner should be n... | Jon Leighton | 2012-11-09 | 1 | -0/+9 |
|/ |
|
* | Fix issue with collection associations and first(n)/last(n) | Carlos Antonio da Silva | 2012-11-01 | 1 | -0/+13 |
* | Merge pull request #7887 from senny/remove_unused_requires_in_ar_tests | Vijay Dev | 2012-10-10 | 1 | -1/+0 |
|\ |
|
| * | remove duplicated require statements in AR test cases | Yves Senn | 2012-10-09 | 1 | -1/+0 |
* | | Fix has_many assocation w/select load after create | Ernie Miller | 2012-10-05 | 1 | -0/+8 |
|/ |
|
* | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 2 | -2/+2 |
* | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 2 | -2/+2 |
* | Count returns 0 without querying if parent is not saved | Francesco Rodriguez | 2012-10-03 | 3 | -0/+18 |
* | Fix destructive side effects from marshaling an association caused by 65843e1... | Jeremy Kemper | 2012-09-25 | 1 | -2/+5 |
* | Merge pull request #7251 from rails/integrate-strong_parameters | David Heinemeier Hansson | 2012-09-18 | 3 | -82/+0 |
|\ |
|
| * | Remove mass_assignment_options from ActiveRecord | Guillermo Iguaran | 2012-09-16 | 2 | -29/+0 |
| * | Remove mass assignment security from ActiveRecord | Guillermo Iguaran | 2012-09-16 | 3 | -53/+0 |
* | | Merge pull request #7661 from ernie/build-join-records-on-unsaved-hmt | Rafael Mendonça França | 2012-09-17 | 1 | -0/+5 |
|\ \ |
|
| * | | Fix collection= on hm:t join models when unsaved | Ernie Miller | 2012-09-17 | 1 | -0/+5 |
* | | | Fix warning: method redefine. Testcase name are duplicated. | kennyj | 2012-09-17 | 1 | -1/+1 |
| |/
|/| |
|
* | | Don't preserve SELECT columns on COUNT | Steve Klabnik | 2012-09-16 | 1 | -1/+31 |
|/ |
|
* | Merge pull request #4976 from kreynolds/fix_eager_without_pkey | Jon Leighton | 2012-09-07 | 1 | -0/+8 |
|\ |
|
| * | Change JoinPart test from an integration to a unit test | Kelley Reynolds | 2012-07-05 | 2 | -13/+8 |
| * | Fix eagerly loading associations without primary keys | Kelley Reynolds | 2012-02-09 | 1 | -0/+13 |
* | | Add a test to make sure preloading properly merges association and default sc... | Pratik Naik | 2012-08-28 | 1 | -0/+12 |
* | | Use inversed parent for first and last child of has_many association | brainopia | 2012-08-18 | 1 | -0/+6 |
* | | Use method compilation for association methods | Jon Leighton | 2012-08-10 | 2 | -3/+3 |
* | | Remove the dependent_restrict_raises option. | Jon Leighton | 2012-08-10 | 2 | -67/+30 |
* | | Fix #7191. Remove unnecessary transaction when assigning has_one associations. | kennyj | 2012-08-08 | 1 | -0/+13 |
* | | removes usage of Object#in? from the code base (the method remains defined by... | Xavier Noria | 2012-08-06 | 1 | -2/+2 |
* | | Remove ActiveRecord::Base.to_a | Jon Leighton | 2012-08-03 | 2 | -3/+3 |
* | | load active_support/core_ext/object/inclusion in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 |
* | | s/scoped/scope/ | Jon Leighton | 2012-08-01 | 1 | -1/+1 |
* | | Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql. | Jon Leighton | 2012-08-01 | 2 | -18/+49 |
* | | Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql." | Jon Leighton | 2012-08-01 | 2 | -0/+171 |
* | | AR::Relation#order: make new order prepend old one | Bogdan Gusiev | 2012-07-31 | 2 | -4/+4 |
* | | Deprecate ActiveRecord::Base.scoped. | Jon Leighton | 2012-07-27 | 13 | -247/+247 |
* | | ActiveRecord::Base.all returns a Relation. | Jon Leighton | 2012-07-27 | 11 | -152/+152 |
* | | Deprecate update_column in favor of update_columns. | Rafael Mendonça França | 2012-07-24 | 6 | -16/+16 |
* | | rm unnecessary test | Jon Leighton | 2012-07-20 | 1 | -7/+0 |
* | | rm redundant test | Jon Leighton | 2012-07-20 | 1 | -7/+0 |
* | | Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql. | Jon Leighton | 2012-07-20 | 2 | -171/+0 |