Validating Non-ActiveRecord Models in Rails
Neeraj has put together a cool demonstration of validating non-ActiveRecord models (but using AR validations) in Rails. This could be very useful!
Neeraj has put together a cool demonstration of validating non-ActiveRecord models (but using AR validations) in Rails. This could be very useful!
Comments
Very awesome, although I did wish he explained why
append_features
instead ofincluded
. I found Matz’s response about the difference, but I don’t think I fully understand.Post a comment