Use try instead of try! to be compatible with rails 3