rails--rails/activerecord/test/models
Jon Leighton 834e5336a5 has_many associations with :dependent => :delete_all should update the counter cache when deleting records 2010-12-20 13:56:04 -08:00
..
admin
admin.rb
author.rb Verify that creating a has_many through record where there is a default_scope on the join model works correctly (creates the join record with the default scope applied) 2010-12-16 01:49:30 +05:30
auto_id.rb
binary.rb
bird.rb
book.rb test and fix collection_singular_ids= with string primary keys [#5125 state:resolved] 2010-08-02 16:41:20 +02:00
boolean.rb Add missing model 2010-08-14 18:49:04 -03:00
bulb.rb While creating a new record using has_many create method default scope of child should be respected. 2010-08-19 14:52:15 -03:00
car.rb expanding the test to include both type of order declaration 2010-09-18 20:49:19 +02:00
categorization.rb Fix various issues with the :primary_key option in :through associations [#2421 state:resolved] 2010-12-15 17:50:14 -08:00
category.rb
citation.rb
club.rb
column_name.rb
comment.rb Add some tests for functionality in JoinAssociation which already exists but was previously untested 2010-10-13 08:24:19 -07:00
company.rb Convert :primary_key in association to a string before comparing to column names, so that for example :primary_key => :another_pk works as well [#5605 state:resolved] 2010-10-30 11:24:36 -07:00
company_in_module.rb Object#returning removed 2010-07-25 23:30:27 +02:00
computer.rb
contact.rb
contract.rb Respect the default_scope on a join model when reading a through association 2010-12-16 01:49:30 +05:30
country.rb
course.rb
customer.rb
dashboard.rb
default.rb
developer.rb reorder removed in favor of except(:order).order 2010-10-11 11:54:46 -02:00
edge.rb
electron.rb Eager loading an association should not change the count of children 2010-08-02 17:12:59 +02:00
engine.rb expanding the test to include both type of order declaration 2010-09-18 20:49:19 +02:00
entrant.rb
essay.rb
event.rb
eye.rb use persisted? instead of new_record? wherever possible 2010-11-09 13:54:04 -02:00
face.rb
guid.rb
interest.rb
invoice.rb
item.rb
job.rb
joke.rb
keyboard.rb
legacy_thing.rb
line_item.rb
liquid.rb Eager loading an association should not change the count of children 2010-08-02 17:12:59 +02:00
loose_person.rb
man.rb
matey.rb
member.rb
member_detail.rb
member_type.rb
membership.rb
minimalistic.rb
minivan.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
mixed_case_monkey.rb
molecule.rb Eager loading an association should not change the count of children 2010-08-02 17:12:59 +02:00
movie.rb
order.rb
organization.rb
owner.rb
parrot.rb
person.rb Fix hm:t to self table aliasing in construct_scope 2010-12-16 01:49:29 +05:30
pet.rb fix warnings, stop using global variables 2010-11-30 18:46:56 -08:00
pirate.rb use persisted? instead of new_record? wherever possible 2010-11-09 13:54:04 -02:00
post.rb has_many associations with :dependent => :delete_all should update the counter cache when deleting records 2010-12-20 13:56:04 -08:00
price_estimate.rb
project.rb
reader.rb
reference.rb eagerly loaded association records should respect default_scope [#2931 state:resolved] 2010-07-21 15:01:40 +02:00
reply.rb
ship.rb
ship_part.rb
shop.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
speedometer.rb
sponsor.rb
subject.rb use persisted? instead of new_record? wherever possible 2010-11-09 13:54:04 -02:00
subscriber.rb
subscription.rb
tag.rb
tagging.rb
task.rb
topic.rb use persisted? instead of new_record? wherever possible 2010-11-09 13:54:04 -02:00
toy.rb
treasure.rb
treaty.rb
tyre.rb Ensure we can nest include calls [#5285 state:resolved] 2010-08-12 13:10:58 -03:00
vertex.rb
warehouse_thing.rb
wheel.rb
without_table.rb
zine.rb