Logo
Explore Help
Register Sign In
Nemcio/Redmine
1
0
Fork 0
You've already forked Redmine
mirror of https://github.com/redmine/redmine.git synced 2025-10-29 17:26:23 +01:00
Code Issues Packages Projects Releases Activity
Files
7e350f1585d51a754fde2bc6d0646e23870b898e
Redmine/lib/plugins/acts_as_tree/init.rb

7 lines
183 B
Ruby
Raw Normal View History

Enable frozen_string_literal for files which don't contain string literals (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 01:47:12 +00:00
# frozen_string_literal: true
Add "frozen_string_literal: false" for all files (#26561). This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Use `require_relative` instead of `File.dirname(__FILE__) + ...` (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-16 21:55:30 +00:00
require_relative 'lib/active_record/acts/tree'
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
2024-01-23 11:52:38 +00:00
Rails.application.reloader.to_prepare do
ApplicationRecord.send :include, ActiveRecord::Acts::Tree
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.7 Page: 176ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API