I have a model that has several properties. I want to validate that at least one of those properties is set. I saw the post here, but the errors.add_to_base is now deprecated in Rails 3 and was wondering what the new solution might be.
Asked
Active
Viewed 230 times