fix target types
authorPatrick Aljord <patcito@gmail.com>
Tue, 20 Sep 2011 20:42:29 +0000 (15:42 -0500)
committerPatrick Aljord <patcito@gmail.com>
Wed, 21 Sep 2011 00:23:58 +0000 (19:23 -0500)
commit0ff1a921925fb36ef8b410427caf42056fc91f6f
tree9cfbc5bb1250dd4f20e16e098ed84937584fddb9
parentfd914f175e134646c5200ea432bde919ed18936b
fix target types
update question's last target type
when an answer or comment is destroyed, make sure question last target
types is updated correctly
app/models/answer.rb
app/models/comment.rb
app/models/question.rb
app/views/questions/_question.html.haml
app/views/searches/_question.html.haml
app/views/users/_user_data.html.haml
config/locales/global/en.yml
lib/tasks/fixdb.rake