Skip to content

Commit 20dc305

Browse files
committed
Merge pull request #25 from nutso/develop
#20 backward compatibility in where syntax
2 parents 40d6f84 + 3b73b28 commit 20dc305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/recurring_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def recurrence_pattern
8585

8686
def self.find_by_issue issue
8787
# it's possible there is more than one recurrence associated with an issue
88-
RecurringTask.where(current_issue_id: issue.id)
88+
RecurringTask.where(:current_issue_id => issue.id)
8989
end
9090

9191
# retrieve all recurring tasks given a project

0 commit comments

Comments
 (0)