Project

General

Profile

Actions

Bug #12460

closed

Rails 4 compatible changes with Rails 3 (find_or_create/where)

Added by Daniel Lobato Garcia over 9 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Some parts of foreman-tasks use find_or_create, that have to be replaced by Rails 4 syntax. We can do this with where and first_or_create and have it working on both Rails versions.


Related issues 1 (0 open1 closed)

Is duplicate of foreman-tasks - Feature #12654: Rails 4 compatabilityClosedChris Peters12/01/2015Actions
Actions

Also available in: Atom PDF