This should be easy, but I’m stumped…
class X < ActiveRecord::Base
class Y < ActiveRecord::Base
The y table has a column names. The x table has a column value. I
want the list of values in x for the name “Location” in y. Yes, there
are many repetitions.
I can probably hack together an SQL statement to do this without too
much trouble, but the point of using rails is kinda to avoid that when
we can, right?