Word truncating
This helper truncates strings with a word # argument (default 70), not a character #. Really helpful for truncating before textilizing.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
This helper truncates strings with a word # argument (default 70), not a character #. Really helpful for truncating before textilizing.
Post a comment