loading...

re: How to test that you are creating a record without using the database VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I would test the validation part, just as I said in the comment... This is because, most of the time I don't put validation code in the Rails model...

Looks nice, thanks.

Then you don't write rails AR validation, is this true?

Is really rare... but I do use ActiveModel for form objects very often

Code of Conduct Report abuse