validating that a user-agreement checkbox has been checked

Hi,

I have a checkbox that a user must check before they register on my
site. It is to accept the terms of use. My question is, what
validation code do I need to add to my user model so that the record
can't be saved until the box is checked?

Thanks, - Dave

validates_acceptance_of

Just thought that you’ve been asking a lot of questions on the mailing
list lately and here’s a few things that might help you out:

You’ll get a quicker reply from the people on irc.freenode.net #rubyonrails. Many people from the mailing list are in here.

http://noobkit.com is a great lookup site if you don’t know what a method does.

Then there’s old faithful http://google.com too.

I did try sending this to your address but I got an instant error:

This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

 laredotornado@zipmail.com

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 13): 550 laredotornado@zipmail.com: invalid address

Rick, Thanks. That was it.

Ryan, Yeah, I've probably overstayed my welcome somewhat. This is
such a great group but I should branch out. Is "irc.freenode.net
#rubyonrails" a newsgroup? I tried visiting the URL and
"irc.freenode.net" but got a server not found error. Incidentally I
visit this through Google Groups.

- Dave

It’s an IRC server, get an IRC client like mirc http://mirc.com and then type /server irc.freenode.net -j #rubyonrails into the bar at the bottom after entering all your details.