Use BSON::ObjectID to generate attachment's key
authorJorge H. Cuadrado <kuadrosxx@gmail.com>
Tue, 30 Nov 2010 06:56:27 +0000 (01:56 -0500)
committerJorge H. Cuadrado <kuadrosxx@gmail.com>
Tue, 30 Nov 2010 06:56:27 +0000 (01:56 -0500)
commit3623581c313eedb93c48a828d3c26a90fad8a35d
tree6f5676c083a4e3b98835c0641cfa97f24cb4680f
parent2ca4e96e6ba1577cb25ecde35b6f8d1b3f15c09f
Use BSON::ObjectID to generate attachment's key

Signed-off-by: Jorge H. Cuadrado <kuadrosxx@gmail.com>
app/models/question.rb
app/views/questions/_attachments.html.haml
app/views/questions/_form.html.haml
lib/shapado/controllers/routes.rb
public/javascripts/modules/new_question.js