From: Aidan Cornelius-Bell Date: Fri, 10 Jan 2025 23:02:05 +0000 (+1030) Subject: Rails 8 fixups X-Git-Url: https://gitweb.mndrdr.org/?a=commitdiff_plain;h=e85e4a9311914262dd865ad824514997a5eda543;p=arelpe.git Rails 8 fixups --- diff --git a/README.md b/README.md index 0ac9860..985bab9 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ Arelpe is a Ruby on Rails application that provides a RESTful API for managing b ## Requirements -- Ruby 3.3.4 -- Rails 7.2.1 -- MySQL database +- Ruby 3.3.5 +- Rails 8.0 +- MySQL/MariaDB database ## Installation @@ -43,7 +43,7 @@ Arelpe is a Ruby on Rails application that provides a RESTful API for managing b EDITOR="nano" rails credentials:edit ``` -5. Set up TOTP codes (maybe needed in PROD) +5. Set up TOTP codes (this fixup often needed) ``` rails generate migration AddConsumedTimestepToUsers consumed_timestep:integer RAILS_ENV=production rails db:migrate diff --git a/config/application.rb b/config/application.rb index d3de08b..4f18747 100644 --- a/config/application.rb +++ b/config/application.rb @@ -34,6 +34,7 @@ module Arelpe # in config/environments, which are processed later. # # config.time_zone = "Central Time (US & Canada)" + config.time_zone = "Australia/Adelaide" # config.eager_load_paths << Rails.root.join("extras") end end