Fix create questions fix-raketask
authorJorge H. Cuadrado <kuadrosxx@gmail.com>
Mon, 21 Feb 2011 05:13:15 +0000 (00:13 -0500)
committerJorge H. Cuadrado <kuadrosxx@gmail.com>
Mon, 21 Feb 2011 05:13:15 +0000 (00:13 -0500)
commit05398bbf5856b35b15fb5898afedffcef64cf5ab
tree6a1c26d913e934d2eb8ac278d04b22f916815cce
parent9abbb84fe66ff0352953c6661b01a39e83e2270f
Fix create questions
- The validates_length_of option :message was renamed to :wrong_length
- Update setup:create_admin to set the preferred_languages

Signed-off-by: Jorge H. Cuadrado <kuadrosxx@gmail.com>
app/models/question.rb
lib/tasks/setup.rake