Question.update_last_target does not always set a value for last_target_date
authorPatrick Aljord <patcito@gmail.com>
Wed, 26 Jan 2011 00:58:10 +0000 (19:58 -0500)
committerPatrick Aljord <patcito@gmail.com>
Wed, 26 Jan 2011 00:58:10 +0000 (19:58 -0500)
commit5da7f6c2382c0b4675deed50a6370c5ae49aae87
tree70986323bc3783222fe52ad89654d60bc70143c0
parent2c6be0de8baeee3ddbba27844dc7ac752786ee48
Question.update_last_target does not always set a value for last_target_date
so use updated_at when last_target_date nil
app/views/questions/_question.html.haml