Adding new validates_foo to the models


#1

I was thinking of adding some new validates_foo to my models. How could
I create these so that they are reusable in my other apps. Would these
need to be plugins? I’m not sure how to go about creating these.

Charlie B.
http://www.recentrambles.com


#2

Is it not possible to add your own validations like this? I would
rather have them like this than in their own validate methods.

On Mon, 2006-03-13 at 14:56 -0500, Charlie B. wrote:

Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Charlie B.
Programmer
Castle Branch Inc.


#3

Is it not possible to add your own validations like this? I would rather
have them like this than in their own validate methods.

This might help:

http://wiki.rubyonrails.com/rails/pages/HowToAddCustomValidationKeywords


#4

Thanks, I’ll try that out.

On Tue, 2006-03-14 at 23:02 +0000, Jordan E. wrote:


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Charlie B.
Programmer
Castle Branch Inc.