Quantcast
Channel: Sud's Blog
Viewing all articles
Browse latest Browse all 12

One reason a Rails application breaks with no error message

$
0
0
I'm new to Ruby and Rails and spent about 3 hours trying to figure out why objects of my Purchase model which references my Transaction model weren't being presisted. Rails would say that the object was saved in the database but there were no records being created. Also Rails wouldn't throw any error message either.After pulling hair for 3 hours I nailed it down to my Transaction model.

Viewing all articles
Browse latest Browse all 12

Trending Articles