Commit Graph

8 Commits (559fd088453cdbf4bf9d4b583fe80cf22bf280c1)

Author SHA1 Message Date
Yamagishi Kazutoshi 0a0b9a271a Improve RuboCop rules (compatibility to Code Climate) ()
08f8de84eb/Gemfile.lock (L38)
Code Climate is using RuboCop v0.46.0.

Change several rules to maintain compatibility.
alpaca-tc 08dce5e607 Refactor Setting ()
* @object is not needed

* Remove unneeded dependencies

* Do not call private method

* Prefer #respond_to_missing? over #respond_to?

`#respond_to?` doesn't support `User.settings.method(:method_name)`

* Use find_or_initialize_by instead of
masarakki 3b59f9c6c2 fix-cache-returns-nil ()
yhirano 298796cc7b annotate models ()
* add annotate to Gemfile

* rails g annotate:install

* configure annotate_models

* add schema info to models

* fix rubocop to add frozen_string_literal
Eugen Rochko 6b81d10030 Add digest e-mails
Eugen Rochko e25170f960 Add extended about page stub
Eugen Rochko 2939e9898b Extend rails-settings-cached to merge db-saved hash values with defaults
Eugen Rochko b11fdc3ae3 Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage