Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Verify that has_one :through preload respects the :conditions [#2976 ↵ | Will Bryant | 2010-12-23 | 1 | -0/+12 |
| | | | | state:resolved] | ||||
* | Don't allow a has_one association to go :through a collection association ↵ | Jon Leighton | 2010-12-23 | 1 | -5/+7 |
| | | | | [#2976 state:resolved] | ||||
* | Fix for default_scope tests to ensure comparing of equally sorted lists | Raimonds Simanovskis | 2010-12-23 | 2 | -2/+2 |
| | | | | | | This is additional fix for commit ebc47465a5865ab91dc7d058d2d8a0cc961510d7 Respect the default_scope on a join model when reading a through association which otherwise was failing on Oracle (as it returned fixture comments in different order). | ||||
* | removing SQL interpolation, please use scoping and attribute conditionals as ↵ | Aaron Patterson | 2010-12-22 | 1 | -4/+0 |
| | | | | a replacement | ||||
* | define_attr_method must serialize nil correctly | Aaron Patterson | 2010-12-20 | 3 | -0/+14 |
| | |||||
* | if there is no base name, we cannot determine a primary key | Aaron Patterson | 2010-12-20 | 1 | -0/+2 |
| | |||||
* | has_many associations with :dependent => :delete_all should update the ↵ | Jon Leighton | 2010-12-20 | 1 | -0/+12 |
| | | | | counter cache when deleting records | ||||
* | Fix problem where wrong keys are used in JoinAssociation when an association ↵ | Jon Leighton | 2010-12-20 | 2 | -0/+12 |
| | | | | goes :through a belongs_to [#2801 state:resolved] | ||||
* | ActiveRecord::Base.joins should allow single nil argument [#6181 state:resolved] | Piotr Sarnacki | 2010-12-16 | 1 | -0/+4 |
| | |||||
* | Fix various issues with the :primary_key option in :through associations ↵ | Jon Leighton | 2010-12-15 | 2 | -0/+21 |
| | | | | [#2421 state:resolved] | ||||
* | Fix problem with duplicated records when a :uniq :through association is ↵ | Jon Leighton | 2010-12-15 | 2 | -2/+15 |
| | | | | preloaded [#2447 state:resolved] | ||||
* | Replace rudimentary named_scope with scope. [#6052 state:resolved] | Pavel Gorbokon | 2010-12-15 | 3 | -25/+25 |
| | | | | | | | * rename method names (actually in tests) * rename instance variable @_named_scopes_cache to @_scopes_cache * rename references in doc comments * don't touch CHANGELOG :) | ||||
* | Provide test for #4840: to_xml doesn't work in such case: ↵ | Franck Verrot | 2010-12-15 | 1 | -0/+6 |
| | | | | Event.select('title as t').to_xml | ||||
* | test for eager load of has_one association with condition on the through table | Pivotal Labs | 2010-12-16 | 1 | -1/+9 |
| | |||||
* | Verify that creating a has_many through record where there is a ↵ | Jon Leighton | 2010-12-16 | 1 | -0/+7 |
| | | | | default_scope on the join model works correctly (creates the join record with the default scope applied) | ||||
* | Respect the default_scope on a join model when reading a through association | Jon Leighton | 2010-12-16 | 2 | -1/+13 |
| | |||||
* | Fix hm:t to self table aliasing in construct_scope | Ernie Miller | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | add test which fails for has_many through self join [#4361 state:open] | Joe Hannon | 2010-12-16 | 1 | -0/+7 |
| | |||||
* | fixing whitespace errors | Aaron Patterson | 2010-12-16 | 1 | -4/+4 |
| | |||||
* | persisted? should be able to return a truthy object | Aaron Patterson | 2010-12-16 | 1 | -8/+8 |
| | |||||
* | Only call save on belongs_to associations if the record has changed or any ↵ | Chiel Wester | 2010-12-16 | 1 | -0/+11 |
| | | | | | | nested associations have changed (resolves #3353) Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | preheating cache so that tests can run in isolation | Aaron Patterson | 2010-12-09 | 1 | -0/+5 |
| | |||||
* | Simplifies observer implementation [#6065 state:resolved] | Robert Pankowecki (Gavdi) | 2010-12-09 | 1 | -0/+16 |
| | |||||
* | Fix test on finding migrations from 2 paths | Piotr Sarnacki | 2010-12-09 | 1 | -5/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'drogus/dummy_tasks' | José Valim | 2010-12-09 | 1 | -0/+12 |
|\ | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Allow to run migrations from more than one directory | Piotr Sarnacki | 2010-12-09 | 1 | -0/+12 |
| | | |||||
* | | Take into account current time zone when serializing datetime values [#6096 ↵ | Mike Dvorkin | 2010-12-09 | 1 | -0/+21 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Ensure that boolean false is properly serialized [#6079 state:resolved] | Aditya Sanghi | 2010-12-08 | 1 | -0/+16 |
| | | |||||
* | | Setting the id of a belongs_to object updates all referenced objects [#2989 ↵ | Jeff Dean | 2010-12-08 | 1 | -0/+37 |
|/ | | | | state:resolved] | ||||
* | not a responsibility for rails to test | Aaron Patterson | 2010-12-03 | 1 | -10/+0 |
| | |||||
* | removing unused setup | Aaron Patterson | 2010-12-03 | 1 | -4/+0 |
| | |||||
* | in the middle of refactoring | Aaron Patterson | 2010-12-03 | 1 | -50/+30 |
| | |||||
* | Doesn't need to sort, lets users of attribute_names sort them if they want | Santiago Pastorino | 2010-12-02 | 1 | -1/+1 |
| | |||||
* | fixing space errors | Aaron Patterson | 2010-12-02 | 1 | -3/+1 |
| | |||||
* | adding a test for YAML round trip | Aaron Patterson | 2010-12-02 | 1 | -0/+9 |
| | |||||
* | Work around a strange piece of Syck behaviour where it checks ↵ | Michael Koziarski | 2010-12-02 | 1 | -0/+11 |
| | | | | | | Model#respond_to? before initializing the object. Things like YAML.load(YAML.dump(@post)) won't work without this. | ||||
* | rolling out migrated_at until I can fix the build | Aaron Patterson | 2010-12-01 | 3 | -99/+7 |
| | |||||
* | removing duplicate test | Aaron Patterson | 2010-12-01 | 1 | -37/+0 |
| | |||||
* | should not to_s the possibly nil value | Aaron Patterson | 2010-12-01 | 1 | -2/+2 |
| | |||||
* | make sure we have a value in migrated_at | Aaron Patterson | 2010-12-01 | 1 | -1/+1 |
| | |||||
* | not all databases return dates as strings | Aaron Patterson | 2010-12-01 | 2 | -3/+3 |
| | |||||
* | fixing tests and warnings | Aaron Patterson | 2010-12-01 | 2 | -2/+6 |
| | |||||
* | tests mostly pass | Josh Susser | 2010-12-01 | 1 | -2/+3 |
| | | | | | adjust to work with instance-based migations migrated_at can't be null why must people have last names? it's killing me! | ||||
* | clear schema_migrations in Schema.define | Josh Susser | 2010-12-01 | 1 | -0/+11 |
| | |||||
* | name in schema_migrations, migrations in schema dump | Josh Susser | 2010-12-01 | 3 | -8/+50 |
| | |||||
* | record migration timestamp when migrations run | Josh Susser | 2010-12-01 | 1 | -1/+48 |
| | |||||
* | Add migrated_at column to schema_migrations table. | Josh Susser | 2010-12-01 | 1 | -6/+30 |
| | |||||
* | fix warnings, stop using global variables | Aaron Patterson | 2010-11-30 | 1 | -2/+1 |
| | |||||
* | isolating eager_loading? method | Aaron Patterson | 2010-11-30 | 1 | -0/+11 |
| | |||||
* | making sure scope_for_create value is cached | Aaron Patterson | 2010-11-30 | 1 | -0/+12 |
| |