, Weapon.find(1), , , : id = > 1, , .
Zombie.find(1).weapons, , : id = 1, , , : name, : id.
"where", - @edgerunner, :
#<ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: zombie.name: SELECT "weapons".* FROM "weapons" WHERE "zombie"."name" = 'Ash'>
so I'm not sure if this is a limitation through the program or what - as it is, I'm still a little confused.
source
share