Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

time_ago_in_words for created_at model in rails

time_ago_in_words(Model.first.created_at)
 
PREVIOUS NEXT
Tagged: #model #rails
ADD COMMENT
Topic
Name
1+8 =