Actions
Defect #11545
closedOverwriting existing method Issue.open
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Try
Project.first.issues.open => ArgumentError: wrong number of arguments (0 for 1)
Project.first.issues.open('public') => Errno::EACCES: Permission denied - public
From log:
Creating scope :open. Overwriting existing method Issue.open.
And others:
Creating scope :active. Overwriting existing method User.active.
Creating scope :open. Overwriting existing method Version.open.
etc..
Thanks for resolve
(workaround: Project.first.issues.visible.open)
Petr
Files
Actions