diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-08-10 09:45:01 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-08-10 10:51:01 +0300 |
commit | 32af384adf2121c5da2e0d063314c91e5c5f6757 (patch) | |
tree | cf523b9171a5d07433ac10583bc4f9777fabc36a /app/models/site_statistic.rb | |
parent | ce2f1ec86a9a137177d00209aa7688532a9cbefb (diff) |
Enable frozen string in rest of app/models/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/models/site_statistic.rb')
-rw-r--r-- | app/models/site_statistic.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/site_statistic.rb b/app/models/site_statistic.rb index 9c9c3172fe6..daac1c57db9 100644 --- a/app/models/site_statistic.rb +++ b/app/models/site_statistic.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class SiteStatistic < ActiveRecord::Base # prevents the creation of multiple rows default_value_for :id, 1 |