Sha256: 42775bb0a8c55baf855f4321e52e207879e4efadba6ce732da29882e67ec7bc1

Contents?: true

Size: 286 Bytes

Versions: 18

Compression:

Stored size: 286 Bytes

Contents

require_relative 'project'
require_relative 'user'

class Issue < ActiveRecord::Base
  belongs_to :project
  belongs_to :user
  belongs_to :author, class_name: 'User'

  rcrm_acts_as_draftable
  rcrm_acts_as_taggable
  rcrm_acts_as_viewed

  scope :visible, lambda { where('1=1') }
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
redmine_crm-0.0.55 test/models/issue.rb
redmine_crm-0.0.54 test/models/issue.rb
redmine_crm-0.0.53 test/models/issue.rb
redmine_crm-0.0.52 test/models/issue.rb
redmine_crm-0.0.51 test/models/issue.rb
redmine_crm-0.0.50 test/models/issue.rb
redmine_crm-0.0.49 test/models/issue.rb
redmine_crm-0.0.48 test/models/issue.rb
redmine_crm-0.0.47 test/models/issue.rb
redmine_crm-0.0.46 test/models/issue.rb
redmine_crm-0.0.45 test/models/issue.rb
redmine_crm-0.0.44 test/models/issue.rb
redmine_crm-0.0.43 test/models/issue.rb
redmine_crm-0.0.42 test/models/issue.rb
redmine_crm-0.0.41 test/models/issue.rb
redmine_crm-0.0.40 test/models/issue.rb
redmine_crm-0.0.38 test/models/issue.rb
redmine_crm-0.0.37 test/models/issue.rb