Minore code-style fixes

This commit is contained in:
Valeriy Sizov 2012-10-04 13:40:40 +03:00
parent 810d0903f8
commit 76c4e83193
4 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ module IssueCommonality
scope :opened, where(closed: false)
scope :closed, where(closed: true)
scope :of_group, ->(group) { where(project_id: group.project_ids) }
scope :assigned, lambda { |u| where(assignee_id: u.id)}
scope :assigned, ->(u) { where(assignee_id: u.id)}
delegate :name,
:email,