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
Ryuta Kamizono 1385a8b5ff Fix extension method with dirty target in has_many associations
Extension methods should not delegate to `scope` to respect dirty
target on `CollectionProxy`.

Fixes #28419.
2017-03-20 18:49:14 +09:00
..
admin Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
autoloadable
publisher
admin.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
aircraft.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
arunit2_model.rb
author.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
auto_id.rb
binary.rb Add line endings to files which are missing them 2015-02-17 13:28:06 -07:00
bird.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
book.rb Add tests for ActiveRecord::Enum#enum when suffix specified 2016-09-12 08:52:02 +09:00
boolean.rb Remove duplicated model class definitions in test/cases/base_test.rb 2016-12-12 08:46:10 +09:00
bulb.rb Don't skip in-memory insertion of associations when loaded in validate 2016-09-29 14:57:31 -04:00
cake_designer.rb
car.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
carrier.rb Skip statement cache on through association reader 2015-08-12 21:17:30 -03:00
cat.rb Fix warning: method redefined; discarding old female 2016-03-12 17:06:43 +09:00
categorization.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
category.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
chef.rb Add missing source_type if provided on hmt which belongs to an sti record 2016-01-24 22:25:12 +05:30
citation.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
club.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
college.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
column.rb
column_name.rb
comment.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
company.rb Privatize unneededly protected methods in Active Record 2017-01-05 20:01:02 +09:00
company_in_module.rb Privatize unneededly protected methods in Active Record tests 2016-12-24 00:15:31 +09:00
computer.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
contact.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
content.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
contract.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
country.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
course.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
customer.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
customer_carrier.rb Skip statement cache on through association reader 2015-08-12 21:17:30 -03:00
dashboard.rb
default.rb
department.rb
developer.rb Raise error when has_many through is defined before through association 2017-01-04 11:56:08 +00:00
dog.rb
dog_lover.rb
doubloon.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
drink_designer.rb
edge.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
electron.rb Revert "Merge pull request #20080 from robertjlooby/fix_overwriting_by_dynamic_finders" 2015-09-09 06:08:57 -03:00
engine.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
entrant.rb
essay.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
event.rb Add line endings to files which are missing them 2015-02-17 13:28:06 -07:00
eye.rb Deprecate the behavior of AR::Dirty inside of after_(create|update|save) callbacks 2016-11-01 13:16:33 -04:00
face.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
family.rb Chain scope constraints should respect own table alias 2017-02-01 06:27:23 +09:00
family_tree.rb Chain scope constraints should respect own table alias 2017-02-01 06:27:23 +09:00
friendship.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
guid.rb Add line endings to files which are missing them 2015-02-17 13:28:06 -07:00
guitar.rb Errors can be indexed with nested attributes 2015-04-17 14:11:16 -04:00
hotel.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
image.rb
interest.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
invoice.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
item.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
job.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
joke.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
keyboard.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
legacy_thing.rb
lesson.rb
line_item.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
liquid.rb
man.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
matey.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
member.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
member_detail.rb Fix misleading errors for has_one through relations 2015-07-22 00:51:23 +03:00
member_type.rb
membership.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
mentor.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
minimalistic.rb
minivan.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
mixed_case_monkey.rb
mocktail_designer.rb Add missing source_type if provided on hmt which belongs to an sti record 2016-01-24 22:25:12 +05:30
molecule.rb
movie.rb
node.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
non_primary_key.rb Fix inspection behavior when the :id column is not primary key 2017-02-09 01:57:50 +09:00
notification.rb Ensure suppressor runs before validations 2016-02-24 14:33:22 -05:00
order.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
organization.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
other_dog.rb fix #create_fixtures when equal table names in different databases 2016-12-21 11:09:29 +01:00
owner.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
parrot.rb Should not update children when the parent creation with no reason 2016-12-29 16:24:57 +09:00
person.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
personal_legacy_thing.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
pet.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
pet_treasure.rb Fix undefined method `owners' for NullPreloader:Class 2016-04-06 00:46:55 -03:00
pirate.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
possession.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
post.rb Fix extension method with dirty target in has_many associations 2017-03-20 18:49:14 +09:00
price_estimate.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
professor.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
project.rb Correct spelling 2017-02-05 19:00:18 -06:00
publisher.rb
randomly_named_c1.rb
rating.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
reader.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
recipe.rb Fix leaky chain on polymorphic association 2015-03-15 10:39:42 -04:00
record.rb
reference.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
reply.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
ship.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
ship_part.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
shop.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
shop_account.rb Skip statement cache on through association reader 2015-08-12 21:17:30 -03:00
speedometer.rb
sponsor.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
string_key_object.rb
student.rb
subject.rb Privatize unneededly protected methods in Active Record tests 2016-12-24 00:15:31 +09:00
subscriber.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
subscription.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
tag.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
tagging.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
task.rb
topic.rb Privatize unneededly protected methods in Active Record tests 2016-12-24 00:15:31 +09:00
toy.rb
traffic_light.rb
treasure.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
treaty.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
tree.rb Add pending test for the great-grandparent touching bug from #19324 2015-06-25 14:23:06 +02:00
tuning_peg.rb Errors can be indexed with nested attributes 2015-04-17 14:11:16 -04:00
tyre.rb
user.rb Chain scope constraints should respect own table alias 2017-02-01 06:27:23 +09:00
uuid_child.rb
uuid_item.rb Fix issue #23625 2016-02-18 00:32:38 -05:00
uuid_parent.rb
vegetables.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
vehicle.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
vertex.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
warehouse_thing.rb
wheel.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
without_table.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
zine.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00