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 f64b5fb942 Allow extra scoping in callbacks when create on association relation
#37523 has a regression that ignore extra scoping in callbacks when
create on association relation.

It should respect `klass.current_scope` even when create on association
relation to allow extra scoping in callbacks.

Fixes #38741.
2020-04-10 16:10:49 +09:00
..
admin
autoloadable
publisher
account.rb Ensure Contextual validations fire on associations 2019-10-04 12:17:53 +01:00
admin.rb
aircraft.rb
arunit2_model.rb
author.rb Avoid extraneous preloading when loading across has_one associations 2020-01-08 08:14:04 +13:00
auto_id.rb
binary.rb
bird.rb
book.rb Allow AR::Enum definitions with boolean values 2019-12-24 07:05:42 -10:00
boolean.rb
bulb.rb Allow extra scoping in callbacks when create on association relation 2020-04-10 16:10:49 +09:00
cake_designer.rb
car.rb
carrier.rb
cat.rb
categorization.rb
category.rb
chef.rb
citation.rb
club.rb
college.rb
column.rb
column_name.rb
comment.rb Check that entire collection has been loaded before short circuiting 2019-11-19 15:32:36 -06:00
company.rb
company_in_module.rb
computer.rb
contact.rb
content.rb
contract.rb
country.rb
course.rb
customer.rb
customer_carrier.rb
dashboard.rb Ensure custom PK types are casted in through reflection queries 2019-08-07 16:27:33 -04:00
default.rb
department.rb
developer.rb Support strict_loading on association declarations 2020-02-21 13:11:24 -05:00
dog.rb
dog_lover.rb
doubloon.rb
drink_designer.rb
edge.rb
electron.rb
engine.rb
entrant.rb
essay.rb
event.rb
eye.rb
face.rb
family.rb
family_tree.rb
friendship.rb
frog.rb
guid.rb
guitar.rb
hotel.rb
image.rb :polymorphic, :as, and :foreign_type are valid for polymorphic association 2019-11-10 10:54:58 +09:00
interest.rb Don't run callbacks on has_many inverse add 2019-10-10 16:18:13 -04:00
invoice.rb
item.rb
job.rb
joke.rb
keyboard.rb
legacy_thing.rb
lesson.rb
line_item.rb
liquid.rb
man.rb Don't run callbacks on has_many inverse add 2019-10-10 16:18:13 -04:00
matey.rb
measurement.rb This PR adds support to retrieve partitioned indexes when asking for 2020-02-06 07:36:44 +02:00
member.rb
member_detail.rb
member_type.rb
membership.rb
mentor.rb
minimalistic.rb
minivan.rb
mixed_case_monkey.rb
molecule.rb
mouse.rb
movie.rb
node.rb
non_primary_key.rb
notification.rb
numeric_data.rb
order.rb
organization.rb
other_dog.rb
owner.rb
parrot.rb
person.rb
personal_legacy_thing.rb
pet.rb
pet_treasure.rb
pirate.rb Ensure Contextual validations fire on associations 2019-10-04 12:17:53 +01:00
possession.rb
post.rb
price_estimate.rb
professor.rb
project.rb
publisher.rb
randomly_named_c1.rb
rating.rb Maintain extra joins for string or complex arel conditions 2019-10-04 13:29:18 +09:00
reader.rb
recipe.rb
record.rb
reference.rb
reply.rb
section.rb
seminar.rb
session.rb
ship.rb Ensure Contextual validations fire on associations 2019-10-04 12:17:53 +01:00
ship_part.rb
shop.rb
shop_account.rb
speedometer.rb
sponsor.rb
squeak.rb
string_key_object.rb
student.rb
subscriber.rb Ensure custom PK types are casted in through reflection queries 2019-08-07 16:27:33 -04:00
subscription.rb Ensure custom PK types are casted in through reflection queries 2019-08-07 16:27:33 -04:00
tag.rb
tagging.rb
task.rb
topic.rb
toy.rb
traffic_light.rb
treasure.rb
treaty.rb
tree.rb
tuning_peg.rb
tyre.rb
user.rb
uuid_child.rb
uuid_item.rb
uuid_parent.rb
vegetables.rb
vehicle.rb
vertex.rb
warehouse_thing.rb
wheel.rb
without_table.rb
zine.rb