Skip to content

amitagarwal/Remove-Strip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strip
===
Strip is a Rails plugin that automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
Introduction goes here.

    write strip_text_fields :name,:descri
            
   where name and descri are the column  of the table.

Example
=======

Example goes here.

amitdotagarwal@gmail.com
Copyright (c) 2008 [Amit Agarwal], released under the MIT license

About

it will remove unwanted trail in the content , you need to simply specify the remove_strip :column name , i

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published