"Faking" an association in ActiveRecord via something that _looks_ like an association (basically: an instance method returning an array of associated records) ends in pain every single time. Make it a real association.

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies