]> source.dussan.org Git - redmine.git/commit
Use regular instance methods instead of association extensions.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 3 Jun 2017 08:04:13 +0000 (08:04 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 3 Jun 2017 08:04:13 +0000 (08:04 +0000)
commit44c748f968f6a82e6dab444e6b9127f5a342f0e2
tree1b10207d8d1198cf6cb2d6f731d14ca5a824e02d
parentf6defca16de748d8481dd857b31322eec0162b20
Use regular instance methods instead of association extensions.

Rails 5.1 seems to mess things up in this particular case (role.workflow_rules.copy calls the extension declare in Tracker model).

git-svn-id: http://svn.redmine.org/redmine/trunk@16597 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/roles_controller.rb
app/controllers/trackers_controller.rb
app/models/role.rb
app/models/tracker.rb
app/models/workflow_rule.rb
test/unit/role_test.rb
test/unit/tracker_test.rb