Training and application development. Let our experts develop your applications. We're fast. We're reasonably priced. We've been there... done that.
www.enablelabs.com
To contact Mark send an email to mark@mjm.net. You will receive an auto response from my mail server to verify you're not a spammer.
© Mark Menard
Today we needed to test conditional validations on a model. We're using RSpec with the Shoulda macros to do this. Our model looks something like: