updating first to find_by for rails 4 compatability