From 13aeb797cfaa5a70bd8903d8350ea8ce3e0bb151 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Tue, 23 Jan 2024 11:52:38 +0000 Subject: Use ApplicationRecord instead of ActiveRecord::Base (#38975). Patch by Minoru Maeda (@maeda-m). git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- extra/sample_plugin/app/models/meeting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/sample_plugin/app/models/meeting.rb b/extra/sample_plugin/app/models/meeting.rb index 78d801304..34310647c 100644 --- a/extra/sample_plugin/app/models/meeting.rb +++ b/extra/sample_plugin/app/models/meeting.rb @@ -1,4 +1,4 @@ -class Meeting < ActiveRecord::Base +class Meeting < ApplicationRecord belongs_to :project acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, -- cgit v1.2.3