ActiveRecord associations, scoped
22-Feb-2023 860
ActiveRecord as a neat trick/ability which a lot of folks are not aware of. You can pass a block to... Tagged with rails, ruby.What makes this even more interesting is that you can have multiple associations to the same model with different name and conditions.
ActiveRecord associations, scoped #ruby #rubydeveloper #rubyonrails #ActiveRecord #associations, #scoped #activerecord https://rubyonrails.ba/link/activerecord-associations-scoped