From e85e4a9311914262dd865ad824514997a5eda543 Mon Sep 17 00:00:00 2001 From: Aidan Cornelius-Bell Date: Sat, 11 Jan 2025 09:32:05 +1030 Subject: [PATCH] Rails 8 fixups --- README.md | 8 ++++---- config/application.rb | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) 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 -- 2.39.5