Module: Opinio::OpinioModel::Sanitizing
- Defined in:
- lib/opinio/opinio_model.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
42 43 44 45 46 47 |
# File 'lib/opinio/opinio_model.rb', line 42 def self.included(base) base.class_eval do send :include, ActionView::Helpers::SanitizeHelper before_save :strip_html_tags end end |