diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-23 11:52:38 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-23 11:52:38 +0000 |
commit | 13aeb797cfaa5a70bd8903d8350ea8ce3e0bb151 (patch) | |
tree | 51ae69c0c3837e531b8cef6fac455e06eea04d88 /app/models/workflow_rule.rb | |
parent | 28061fbcdb2cabbef698db2ca3a80cc428388456 (diff) | |
download | redmine-13aeb797cfaa5a70bd8903d8350ea8ce3e0bb151.tar.gz redmine-13aeb797cfaa5a70bd8903d8350ea8ce3e0bb151.zip |
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
Diffstat (limited to 'app/models/workflow_rule.rb')
-rw-r--r-- | app/models/workflow_rule.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/workflow_rule.rb b/app/models/workflow_rule.rb index ec4e506c8..dd0a824d6 100644 --- a/app/models/workflow_rule.rb +++ b/app/models/workflow_rule.rb @@ -17,7 +17,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class WorkflowRule < ActiveRecord::Base +class WorkflowRule < ApplicationRecord self.table_name = "#{table_name_prefix}workflows#{table_name_suffix}" belongs_to :role |