nil error
fix again;
rails 3.2.12
slightly better error handling