RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jamiebuchanan
Site: http://salesmaster.co.uk
Why would you use
product = find_by_id(row["id"]) || new
over
product = find_or_initialize_by_id(row["id"])
Why would you use
over