No commit activity in last 3 years
No release in over 3 years
Strip out all the HTML tags from Activerecord objects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4.0.2
 Project Readme

Activerecord Html Stripper

Strip out all the Html tags from your activerecord forms.

This gem will clean out any html tags that may come during a form save. And Save just the content.

Supports string and text datatype

Installation

Add the gem to the Gemfile:

gem "activerecord-html-stripper"    

Usage

Whichever model you want to filter the html add this

Eg

class User < ActiveRecord::Base

  acts_as_html_stripper

end

The gem itself is released under the MIT license

🙏