TimeAgoClient
It is rails gem for jquey plugin Timeago
Installation
Add this line to your application's Gemfile:
gem 'time_ago_client'And then execute:
$ bundle
Or install it yourself as:
$ gem install time_ago_client
And insert this line to application.js:
//= require timeago
Usage
Using view helper timeago(time) or see usage of plugin at here
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/luongvietdung/time_ago_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.