ACMCMU / BoredPrototype

A not-so-boring school project. Original version: http://tinyurl.com/cmuboredcast ... See below for prototype.
http://teudu.herokuapp.com
5 stars 9 forks source link

No client error displayed when no categories are selected during create #14

Closed vivek-pai closed 12 years ago

vivek-pai commented 12 years ago

Instead, rails blows up with its own error.

AveshCSingh commented 12 years ago

Fixed this by checking if :categories is nil before checking :categories.size

(commit not attached to this error message. Will be attached in the future)