1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models
2011-02-14 01:40:31 +00:00
..
admin
admin.rb
author.rb Fix creation of has_many through records with custom primary_key option on belongs_to [#2990 state:resolved] 2010-12-23 15:19:17 -08:00
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 We shouldn't be using scoped.scoping { ... } to build associated records, as this can affect validations/callbacks/etc inside the record itself [#6252 state:resolved] 2011-01-30 11:56:41 +00:00
car.rb expanding the test to include both type of order declaration 2010-09-18 20:49:19 +02:00
categorization.rb Fix creation of has_many through records with custom primary_key option on belongs_to [#2990 state:resolved] 2010-12-23 15:19:17 -08:00
category.rb Test to verify that #2189 (count with has_many :through and a named_scope) is fixed 2010-12-23 15:19:18 -08:00
citation.rb
club.rb Has many through - It is not necessary to manually merge in the conditions hash for the through record, because the creation is done directly on the through association, which will already handle setting the conditions. 2011-01-30 11:58:09 +00:00
column_name.rb
comment.rb Propagate association extensions to scopes called on the association. 2011-02-01 12:38:58 -02:00
company.rb Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings 2011-02-14 01:40:31 +00:00
company_in_module.rb Object#returning removed 2010-07-25 23:30:27 +02:00
computer.rb
contact.rb introduce a fake AR adapter for mocking database return values 2011-02-04 13:34:57 -08:00
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 Ensure that primary_keys of HABTM records is not double quoted 2010-07-20 16:45:42 -07:00
course.rb
customer.rb send() will raise an ArgumentError, so we should leverage ruby 2011-01-07 14:30:20 -08:00
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 make set_table_name take effect immediately 2011-02-08 10:31:09 -08:00
keyboard.rb
legacy_thing.rb
lesson.rb Fixing ordering of HABTM association deletion [#6191 state:resolved] 2011-02-04 19:39:59 -02:00
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 Has many through - It is not necessary to manually merge in the conditions hash for the through record, because the creation is done directly on the through association, which will already handle setting the conditions. 2011-01-30 11:58:09 +00:00
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 Support the :dependent option on has_many :through associations. For historical and practical reasons, :delete_all is the default deletion strategy employed by association.delete(*records), despite the fact that the default strategy is :nullify for regular has_many. Also, this only works at all if the source reflection is a belongs_to. For other situations, you should directly modify the through association. 2011-02-07 23:35:05 +00:00
pet.rb fix warnings, stop using global variables 2010-11-30 18:46:56 -08:00
pirate.rb We shouldn't be using scoped.scoping { ... } to build associated records, as this can affect validations/callbacks/etc inside the record itself [#6252 state:resolved] 2011-01-30 11:56:41 +00:00
post.rb Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings 2011-02-14 01:40:31 +00:00
price_estimate.rb
project.rb Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings 2011-02-14 01:40:31 +00:00
reader.rb
reference.rb Support the :dependent option on has_many :through associations. For historical and practical reasons, :delete_all is the default deletion strategy employed by association.delete(*records), despite the fact that the default strategy is :nullify for regular has_many. Also, this only works at all if the source reflection is a belongs_to. For other situations, you should directly modify the through association. 2011-02-07 23:35:05 +00:00
reply.rb DRY up the code which instantiates the association proxy 2011-01-11 13:45:08 -08:00
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 Fix polymorphic belongs_to associationproxy raising errors when loading target. 2011-01-11 09:19:19 -08:00
student.rb Fixing ordering of HABTM association deletion [#6191 state:resolved] 2011-02-04 19:39:59 -02:00
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 Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings 2011-02-14 01:40:31 +00:00
task.rb Make sure Model#touch doesn't try to update non existing columns 2010-12-30 18:42:18 +00:00
topic.rb DRY up the code which instantiates the association proxy 2011-01-11 13:45:08 -08:00
toy.rb
traffic_light.rb Make serialized fixtures work again 2010-12-29 16:15:45 +00:00
treasure.rb
treaty.rb Ensure that primary_keys of HABTM records is not double quoted 2010-07-20 16:45:42 -07:00
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