update achievement gain date to submission date(not grading date)

1. It makes the leaderboard more fair.
2. Tested properly, it works.
So, what should be the correct name ?
On Sep 10, 2014 10:33 PM, "Raymoond Tang" <notifications@github.com> wrote:

> In app/models/user_course.rb:
>
> > @@ -207,6 +207,7 @@ def give_achievement(ach, should_notify=true)
> >      unless uach
> >        uach = self.user_achievements.build
> >        uach.achievement = ach
> > +      uach.update_date
>
> by convention, when you say 'update'_date, it kind of means it will be
> persisted to the db, but in your case it's not.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Coursemology/coursemology.org/pull/204/files#r17364154>
> .
>