From e54954cd0a7935609ff3c79a837579018fda2d13 Mon Sep 17 00:00:00 2001 From: Sam Pohlenz Date: Sat, 10 Aug 2024 11:12:00 +0930 Subject: [PATCH] Update Rails 7.2.0 beta references to 7.2.0 final --- Gemfile | 4 ++-- gemfiles/rails-7.2-propshaft.gemfile | 2 +- gemfiles/rails-7.2.gemfile | 2 +- sandbox/app/models/article.rb | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index e3963d95..8e910fea 100644 --- a/Gemfile +++ b/Gemfile @@ -22,8 +22,8 @@ end # gem 'rails', '~> 6.0.0' # gem 'rails', '~> 6.1.0' # gem 'rails', '~> 7.0.0' -gem 'rails', '~> 7.1.0' -# gem 'rails', '7.2.0.beta3' +# gem 'rails', '~> 7.1.0' +gem 'rails', '~> 7.2.0' gem 'haml' gem 'sqlite3', '~> 1.4' diff --git a/gemfiles/rails-7.2-propshaft.gemfile b/gemfiles/rails-7.2-propshaft.gemfile index 5ba5c5e5..956aca01 100644 --- a/gemfiles/rails-7.2-propshaft.gemfile +++ b/gemfiles/rails-7.2-propshaft.gemfile @@ -19,7 +19,7 @@ group :test do gem 'haml', '~> 6.0' end -gem 'rails', '7.2.0.rc1' +gem 'rails', '~> 7.2.0' gem 'propshaft' gem 'sqlite3', '~> 1.4' diff --git a/gemfiles/rails-7.2.gemfile b/gemfiles/rails-7.2.gemfile index b01bcc0e..076d7f3f 100644 --- a/gemfiles/rails-7.2.gemfile +++ b/gemfiles/rails-7.2.gemfile @@ -19,7 +19,7 @@ group :test do gem 'haml', '~> 6.0' end -gem 'rails', '7.2.0.rc1' +gem 'rails', '~> 7.2.0' gem 'sprockets-rails' gem 'sqlite3', '~> 1.4' diff --git a/sandbox/app/models/article.rb b/sandbox/app/models/article.rb index bfd3cbcc..788821c9 100644 --- a/sandbox/app/models/article.rb +++ b/sandbox/app/models/article.rb @@ -5,7 +5,7 @@ class Article < ApplicationRecord scope :active, -> { where(active: true) } - serialize :tags, Array, coder: YAML + serialize :tags, type: Array, coder: YAML validates :title, presence: true