違いは何ですか
t = Zombie.find(3)
t.attributes = {:graveyard => "Benny Hills Memorial"}
t.save
と
t = Zombie.find(3)
t.graveyard = "Benny Hills Memorial"
t.save
railsforzombies質問1.5。最初のものは機能しますが、2番目は機能しません。
違いは何ですか
t = Zombie.find(3)
t.attributes = {:graveyard => "Benny Hills Memorial"}
t.save
と
t = Zombie.find(3)
t.graveyard = "Benny Hills Memorial"
t.save
railsforzombies質問1.5。最初のものは機能しますが、2番目は機能しません。