KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Suppose I have an Account model which has_many Users. Accounts have a boolean "active" column. How can I get all Users that belong to "active" accounts? @users_of_active_accounts = User.? Thanks!
Tags (comma-separated)
Save Edits
Cancel