From d74f0bfd5c53962e332c2dd4d30dafaa1105b92b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 23 Jul 2017 11:26:04 +0000 Subject: Merged rails-5.1 branch (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/changeset.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/models/changeset.rb') diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 4256f0589..637a1819f 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -46,7 +46,6 @@ class Changeset < ActiveRecord::Base validates_presence_of :repository_id, :revision, :committed_on, :commit_date validates_uniqueness_of :revision, :scope => :repository_id validates_uniqueness_of :scmid, :scope => :repository_id, :allow_nil => true - attr_protected :id scope :visible, lambda {|*args| joins(:repository => :project). -- cgit v1.2.3