Update changelog

This commit is contained in:
Eugene Burmakin 2025-08-29 10:43:49 +02:00
parent 9856ab56c6
commit 3e1ba6d183
2 changed files with 7 additions and 1 deletions

View file

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
# [UNRELEASED]
## Fixed
- Default value for `points_count` attribute is now set to 0 in the User model.
# [0.30.12] - 2025-08-26
## Fixed

View file

@ -118,7 +118,7 @@ class User < ApplicationRecord # rubocop:disable Metrics/ClassLength
end
def trial_state?
points_count.zero? && trial?
(points_count || 0).zero? && trial?
end
private