Removed in rails 4.1 .find_all_by_ replaced by .where
This commit is contained in:
parent
ee20ecce2f
commit
f87873d958
8 changed files with 19 additions and 19 deletions
|
|
@ -2,7 +2,7 @@ class Admin::DifficultyLevelsController < ApplicationController
|
|||
before_filter :verify_organizer
|
||||
|
||||
def index
|
||||
@conference = Conference.find_all_by_short_title(params[:conference_id]).first
|
||||
@conference = Conference.where(short_title: params[:conference_id]).first
|
||||
end
|
||||
|
||||
def update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue