These last two days I added a feature to the blog, which is to estimate the time it takes to read the entry. I added a table called BodyEntryDetail with EntryId as a foreign key. Then, I added Entry#word_count and Entry#estimate_in_minutes to compute how long it would take to read the entry; the estimate is based on the number of words in the entry body.
I made sure if the entry updated, then its body entry detail would update as well. I've been noticing article estimates at Medium and Slate, so I am excited to add it here!
posted 2015-04-27 23:08:36 -0700 by Belda
Could not find bcrypt-3.1.7 in any of the sources , tagged: ["ruby-on-rails", "devise", "gem"]
How to copy images using amoeba gem in rails? , tagged: ["ruby-on-rails", "ruby", "ruby-on-rails-3", "amoeba-gem"]
How to run spec for a gem in your path , tagged: ["ruby-on-rails", "ruby", "rspec", "gem", "rails-engines"]