Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (6 sloc) 166 Bytes
Railscasts Episode #178: 7 Security Tips
http://railscasts.com/episodes/178
script/console
p = Project.find(2)
p.update_attributes(:task_ids => [4])
p.tasks