Rails: records with or without associations.