silly-lion-46554
07/01/2024, 6:05 PMminiature-optician-85831
07/01/2024, 6:05 PMlemon-wall-20836
07/01/2024, 7:23 PMmain a few weeks back so we should be good there.lemon-wall-20836
07/01/2024, 7:24 PM_reflections before would have stringified keys, and now are symbols (as I remember)lemon-wall-20836
07/01/2024, 7:24 PM_reflections and `class.reflectionssilly-lion-46554
07/01/2024, 8:04 PM_reflections is private APIsilly-lion-46554
07/01/2024, 8:05 PMclass.reflections populates @__reflections (notice two underscores)silly-lion-46554
07/01/2024, 8:06 PM@_reflections, which is defined here https://github.com/rails/rails/blob/19eebf6d33dd15a0172e3ed2481bec57a89a2404/activerecord/lib/active_record/reflection.rb#L11silly-lion-46554
07/01/2024, 8:07 PMreflections is using @_reflections to populate @__reflections here 😕
https://github.com/rails/rails/blob/19eebf6d33dd15a0172e3ed2481bec57a89a2404/activerecord/lib/active_record/reflection.rb#L77-L94silly-lion-46554
07/01/2024, 8:08 PMreflect_on_association(name) since you're not enumerating thru reflections, but looking for reflection by namesilly-lion-46554
07/01/2024, 8:09 PMsilly-lion-46554
07/04/2024, 6:30 PMlemon-wall-20836
07/05/2024, 8:56 AMlemon-wall-20836
07/05/2024, 8:56 AMreflect_on_association once and I found that it does not contain all the associations or somethinglemon-wall-20836
07/05/2024, 8:56 AMlemon-wall-20836
07/05/2024, 8:58 AMlemon-wall-20836
07/05/2024, 8:59 AMlemon-wall-20836
07/05/2024, 8:59 AMsilly-lion-46554
07/06/2024, 7:21 AMlemon-wall-20836
07/06/2024, 7:21 AMlemon-wall-20836
07/06/2024, 7:21 AMlemon-wall-20836
07/06/2024, 7:22 AMlemon-wall-20836
07/06/2024, 7:22 AMsilly-lion-46554
07/06/2024, 7:26 AMlemon-wall-20836
07/06/2024, 7:27 AMcomposed_of wordlemon-wall-20836
07/06/2024, 7:27 AMlemon-wall-20836
07/06/2024, 7:27 AMsilly-lion-46554
07/06/2024, 7:28 AMlemon-wall-20836
07/06/2024, 7:30 AMsilly-lion-46554
07/06/2024, 7:30 AMsilly-lion-46554
07/06/2024, 7:31 AMlemon-wall-20836
07/06/2024, 7:32 AMmain