So here is the deal. I have been working in the Ruby on Rails environment for 1 year now. Before that, I had been in C ++ / Java for almost ten years. I'm still trying to figure out what Ruby is when it comes to claims.
I am not worried about technical details. I know that TestUnit has statements that can be used in a test environment, and I know that I can add my own assert methods to my Ruby project and use them in Rails to block known conditions. The question is: what is Ruby for providing something in the code that I know should / should not happen?
For the record, I claimed in tests and raised in production. I still can not miss my statements about the production ...
Thanks! - = Ahmed = -
source share