Update code related to Relation#all which has been removed from rails 4....

Update code related to Relation#all which has been removed from rails 4.1
Expression at 180, 61 should be on its own line.<br>Space inside } missing.