0
如何將舊的Rails has_many與條件轉換爲new - >語法?Converting Rails 4 has_many
這裏是的has_many:
has_many assets_name.to_sym, through: :associated_assets,
conditions: { assets: { type: asset_subclass_name } },
source: asset_subclass_name.underscore