aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Collapse)AuthorAgeFilesLines
* Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-165-2/+25
|
* Fix hm:t to self table aliasing in construct_scopeErnie Miller2010-12-162-1/+2
|
* add test which fails for has_many through self join [#4361 state:open]Joe Hannon2010-12-161-0/+7
|
* fixing whitespace errorsAaron Patterson2010-12-161-4/+4
|
* persisted? should be able to return a truthy objectAaron Patterson2010-12-161-8/+8
|
* Only call save on belongs_to associations if the record has changed or any ↵Chiel Wester2010-12-161-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 isolationAaron Patterson2010-12-091-0/+5
|
* Simplifies observer implementation [#6065 state:resolved]Robert Pankowecki (Gavdi)2010-12-091-0/+16
|
* Fix test on finding migrations from 2 pathsPiotr Sarnacki2010-12-091-5/+7
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'drogus/dummy_tasks'José Valim2010-12-091-0/+12
|\ | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Allow to run migrations from more than one directoryPiotr Sarnacki2010-12-091-0/+12
| |
* | Take into account current time zone when serializing datetime values [#6096 ↵Mike Dvorkin2010-12-091-0/+21
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Ensure that boolean false is properly serialized [#6079 state:resolved]Aditya Sanghi2010-12-081-0/+16
| |
* | Setting the id of a belongs_to object updates all referenced objects [#2989 ↵Jeff Dean2010-12-081-0/+37
|/ | | | state:resolved]
* not a responsibility for rails to testAaron Patterson2010-12-031-10/+0
|
* removing unused setupAaron Patterson2010-12-031-4/+0
|
* in the middle of refactoringAaron Patterson2010-12-0312-76/+56
|
* Doesn't need to sort, lets users of attribute_names sort them if they wantSantiago Pastorino2010-12-021-1/+1
|
* fixing space errorsAaron Patterson2010-12-021-3/+1
|
* adding a test for YAML round tripAaron Patterson2010-12-021-0/+9
|
* Work around a strange piece of Syck behaviour where it checks ↵Michael Koziarski2010-12-021-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 buildAaron Patterson2010-12-013-99/+7
|
* removing duplicate testAaron Patterson2010-12-011-37/+0
|
* should not to_s the possibly nil valueAaron Patterson2010-12-011-2/+2
|
* make sure we have a value in migrated_atAaron Patterson2010-12-011-1/+1
|
* not all databases return dates as stringsAaron Patterson2010-12-012-3/+3
|
* fixing tests and warningsAaron Patterson2010-12-012-2/+6
|
* tests mostly passJosh Susser2010-12-011-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.defineJosh Susser2010-12-011-0/+11
|
* name in schema_migrations, migrations in schema dumpJosh Susser2010-12-013-8/+50
|
* record migration timestamp when migrations runJosh Susser2010-12-011-1/+48
|
* Add migrated_at column to schema_migrations table.Josh Susser2010-12-011-6/+30
|
* fix warnings, stop using global variablesAaron Patterson2010-11-302-3/+6
|
* isolating eager_loading? methodAaron Patterson2010-11-301-0/+11
|
* making sure scope_for_create value is cachedAaron Patterson2010-11-301-0/+12
|
* surrounding scope_for_create behaviorAaron Patterson2010-11-301-0/+14
|
* Ruby 1.8, how does it work?Aaron Patterson2010-11-301-6/+6
|
* testing combined nodes are not traversedAaron Patterson2010-11-301-0/+9
|
* adding more tests surrounding where_values_hashAaron Patterson2010-11-301-3/+19
|
* testing Relation#table_nameAaron Patterson2010-11-301-0/+21
|
* adding a test for ActiveRecord::RelationAaron Patterson2010-11-301-0/+56
|
* fix whitespace errorsAaron Patterson2010-11-301-2/+2
|
* adding more tests surrounding where values hashAaron Patterson2010-11-291-0/+11
|
* testing attributes applied by default_scopeAaron Patterson2010-11-291-0/+5
|
* test case on has_one :through after a destroyJohn Hawthorn2010-11-291-0/+17
| | | | | | [#6037 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Don't depend on rubygems loading thread (for Mutex)raggi2010-11-251-0/+1
|
* If a nested_attribute is being marked for destruction and at the same time ↵Neeraj Singh2010-11-242-1/+22
| | | | | | | | an attr_accessor value is being assigned then the value being assigned is being ignored. This patch is a fix for that issue. [#5939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Testing that dup is resetting the timestampsFranck Verrot2010-11-251-0/+24
|
* fixing variable names. oops!Aaron Patterson2010-11-231-2/+2
|
* Do not send id for quoting twice if the primary key is string.Neeraj Singh2010-11-231-1/+8
| | | | [#6022 state:resolved]