来源:https://stackoverflow.com/questions/23122469/how-do-i-pass-an-argument-to-a-has-many-association-scope-in-rails-4 标签 ruby-on-rails associations scopes