# -*- mode: snippet -*-
# key: vaoif
# contributor: Translated from TextMate Snippet
# name: validates_acceptance_of if
## condition: "source.ruby.rails"
# --
validates_acceptance_of :${1:terms}${2:${3:, :accept => "${4:1}"}${5:, :message => "${6:You must accept the terms of service}"}}, :if => proc { |obj| ${7:obj.condition?} }