| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | | | Merge branch 'master' of git://github.com/rails/rails | Dmitry Polushkin | 2011-09-15 | 2 | -10/+12 |
|\| | |
|
| * | | Raise error when using write_attribute with a non-existent attribute. | Jon Leighton | 2011-09-13 | 1 | -6/+7 |
| * | | Make protected method public so we avoid method_missing. | Jon Leighton | 2011-09-13 | 1 | -4/+5 |
* | | | Test polymorphic record with optimistic locking and counter cache should be d... | Dmitry Polushkin | 2011-09-09 | 1 | -1/+1 |
|/ / |
|
* | | Ensure we are not comparing a string with a symbol in HasManyAssociation#inve... | Jon Leighton | 2011-09-06 | 1 | -1/+1 |
* | | We need to recorder here. Need to drop the order from default scope. | Arun Agrawal | 2011-09-05 | 1 | -0/+10 |
* | | The join_nodes must be passed to the JoinDependency initializer and therefore... | Jon Leighton | 2011-08-29 | 1 | -0/+2 |
* | | Fix default scope thread safety. Thanks @thedarkone for reporting. | Jon Leighton | 2011-08-13 | 1 | -0/+9 |
* | | use existing model for testing Base.create with #after_initialize | Gabriel Horner | 2011-07-24 | 2 | -9/+5 |
* | | simplify and be more explicit about create and after_initialize tests | Gabriel Horner | 2011-07-24 | 1 | -6/+2 |
* | | fix after_initialize edge case (close #2074 and close #2175) | Les Fletcher | 2011-07-24 | 1 | -0/+13 |
* | | Fix exception if old and new targets are both nil. Fixes #1471. | Jon Leighton | 2011-07-12 | 1 | -1/+4 |
* | | Assign the association attributes to the associated record before the before_... | Jon Leighton | 2011-06-30 | 1 | -2/+7 |
* | | Apply the default scope earlier when doing calculations. Fixes #1682. | Jon Leighton | 2011-06-23 | 1 | -0/+6 |
* | | Pass mass-assignment options to nested models - closes #1673. | Andrew White | 2011-06-13 | 1 | -2/+6 |
* | | Refactor tests to be less brittle | Jon Leighton | 2011-06-12 | 1 | -0/+12 |
* | | Test added for namedscope target. | Arun Agrawal | 2011-06-03 | 2 | -1/+6 |
* | | Failing test for aggregating on default_scope with select | Erik Fonselius | 2011-05-31 | 1 | -0/+5 |
* | | Tests for issue #1360 | Farley Knight | 2011-05-31 | 1 | -0/+15 |
* | | Fix infinite recursion where a lazy default scope references a scope. Fixes #... | Jon Leighton | 2011-05-25 | 1 | -0/+15 |
* | | Merge pull request #1254 from pixeltrix/ignore-includes-in-through-scope | Jon Leighton | 2011-05-24 | 2 | -0/+9 |
|\ \ |
|
| * | | Ignore :includes on through associations | Andrew White | 2011-05-24 | 2 | -0/+9 |
* | | | Failing tests for #1233. | Andrew White | 2011-05-24 | 1 | -0/+35 |
|/ / |
|
* / | Refactoring test_has_many_with_pluralize_table_names_false test | Guillermo Iguaran | 2011-05-20 | 1 | -0/+1 |
|/ |
|
* | Pass the attribute and option hashes to build_association | Andrew White | 2011-05-17 | 1 | -0/+13 |
* | Merge pull request #560 from guilleiguaran/fix_pluralize_table_names_false | Jon Leighton | 2011-05-16 | 1 | -0/+3 |
|\ |
|
| * | Fixing has_many association when ActiveRecord::Base.pluralize_table_names is ... | Guillermo Iguaran | 2011-05-15 | 1 | -0/+3 |
* | | CollectionAssociation#merge_target_lists should write to the underlying attri... | Jon Leighton | 2011-05-14 | 1 | -0/+4 |
|/ |
|
* | Don't use mass-assignment protection when setting foreign keys or association... | Jon Leighton | 2011-05-12 | 1 | -0/+3 |
* | Don't use select() values from the join model of a through association. Fixes... | Jon Leighton | 2011-05-11 | 2 | -0/+8 |
* | Add test to specify that attributes from an association's conditions should b... | Jon Leighton | 2011-05-10 | 2 | -0/+4 |
* | Don't quote ID's as Arel will quote them -- follow same conventions as the de... | Christopher Meiklejohn | 2011-05-08 | 1 | -0/+3 |
* | Merge pull request #357 from joshk/assign_attributes. | David Heinemeier Hansson | 2011-05-01 | 1 | -6/+17 |
|\ |
|
| * | singular and collection relations in AR can now specify mass-assignment secur... | Josh Kalderimis | 2011-05-01 | 1 | -6/+17 |
* | | removed the default_scope deprecations and updated the docs and tests to refl... | Josh Kalderimis | 2011-04-28 | 1 | -6/+18 |
|/ |
|
* | Added assign_attributes to Active Record which accepts a mass-assignment secu... | Josh Kalderimis | 2011-04-24 | 2 | -24/+19 |
* | Bring back support for passing a callable object to the default_scope macro. ... | Jon Leighton | 2011-04-18 | 1 | -0/+17 |
* | Un-deprecate using 'default_scope' as a macro, but if you are calling the mac... | Jon Leighton | 2011-04-18 | 7 | -77/+23 |
* | Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the... | Jon Leighton | 2011-04-17 | 3 | -30/+21 |
* | common @jonleighton :bomb: | Aaron Patterson | 2011-04-12 | 1 | -2/+1 |
* | Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c... | Jon Leighton | 2011-04-12 | 3 | -21/+32 |
* | Evaluate default scopes at the last possible moment in order to avoid problem... | Jon Leighton | 2011-04-12 | 1 | -0/+2 |
* | Deprecated support for passing hashes and relations to default_scope, in favo... | Jon Leighton | 2011-04-12 | 8 | -23/+102 |
* | oracle, y u defy me | Jon Leighton | 2011-03-16 | 3 | -7/+9 |
* | Add a test for STI on the through where the through is nested, and change the... | Jon Leighton | 2011-03-05 | 2 | -0/+2 |
* | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2011-03-04 | 26 | -35/+225 |
|\ |
|
| * | Rewrote AssociationPreload. | Jon Leighton | 2011-02-28 | 1 | -1/+2 |
| * | Allow building and then later saving has_many :through records, such that the... | Jon Leighton | 2011-02-18 | 3 | -1/+5 |
| * | Ensure that association_ids uses the correct attribute where the association ... | Jon Leighton | 2011-02-18 | 1 | -0/+1 |
| * | Add interpolation of association conditions back in, in the form of proc { ..... | Jon Leighton | 2011-02-14 | 4 | -17/+23 |