MyMovies/vendor/plugins/restful_authentication/lib/authorization/aasm_roles.rb
# Returns true if the user has just been activated.
Returns true if the user has just been activated.
Returns true if the user has just been activated .
def do_activate
        @activated = true
        self.activated_at = Time.now.utc
        self.deleted_at = self.activation_code = nil
      end
def do_activate @activated = true self . activated_at = Time . now . utc self . deleted_at = self . activation_code = nil end
Returns true if the user has just been activated.
Returns true if the user has just been activated .