search for: primaryus

Displaying 1 result from an estimated 1 matches for "primaryus".

Did you mean: primary's
2007 Jun 13
6
ActiveRecord query using association
Hello all, I apologize if the answer to this question is going to be rudimentary, but I am thus far stymied by the information I have found on the web. This seems like it should be simple, but I haven''t really found an example of how to do this yet. I have a model called Account which has a belongs_to reference to another model, User, as below: class Account < ActiveRecord::Base