Add Docker and Travis config files to enable CI tests
Also fixes some Rails 6.0 deprecation warnings
This commit is contained in:
@@ -38,7 +38,7 @@ class Pool < ApplicationRecord
|
||||
end
|
||||
|
||||
def series_first
|
||||
order("(case pools.category when 'series' then 0 else 1 end), pools.name")
|
||||
order(Arel.sql("(case pools.category when 'series' then 0 else 1 end), pools.name"))
|
||||
end
|
||||
|
||||
def name_matches(name)
|
||||
|
||||
Reference in New Issue
Block a user