EphemeralModel, for Rails 2.2.2 form validation without a DB table

I recently upgraded WhatYouAte.com to Rails 2.2.2. I had been using advice from the Rails Wiki’s HowToUseValidationsWithoutExtendingActiveRecord page. I was using a class based on the RailsWeenie code (that site is down now) and it stopped working. Here’s a new replacement hack that works almost identically.

1 thought on “EphemeralModel, for Rails 2.2.2 form validation without a DB table”

Leave a Reply

Your email address will not be published. Required fields are marked *