Displaying 1 result from an estimated 1 matches for "content_truncate".
2013 Jun 01
10
How about add a method to truncate a long text more smart?
...f
interfaces as provided by the Active Model module. You can read more about
Active Record in its README.
to
The Model layer represents your domain model (such as Account, Product,
Person, Post, etc.) and encapsulates the business logic that is specific to
your application.
I create a method content_truncate <https://github.com/zlx/content-truncate> to
implementation my requirement. But it is so immature for merge into
activesupport
So welcome advices
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this g...