Card helper method replaced by scope
find_by_ method replaced by where