On Sun, Aug 1, 2010 at 06:18, Dis Tec <[email protected]> wrote: > Is there a smart way or example for listing terms and conditions and > ensuring that they have been read?
No, there never was and (within reason) never will be. There is, however, a way to ensure that the checkbox *saying* they have read it and agree to it, is checked. :-) See http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#M001396 for the validates_acceptance_of method on ActiveRecord. It "Encapsulates the pattern of wanting to validate the acceptance of a terms of service check box (or similar agreement)." -Dave -- Specialization is for insects. -RAH | Have Pun, Will Babble! -me Programming Blog: http://codosaur.us | Work: http://davearonson.com Leadership Blog: http://dare2xl.com | Play: http://davearonson.net * * * * * WATCH THIS SPACE * * * * * | Ruby: http://mars.groupsite.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

