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
HTTP:No 'Access-Control-Allow-Origin' header is present on the requested resource , tagged: ["ruby-on-rails", "angularjs"]
dotenv and linked_files with capistrano 3 , tagged: ["ruby-on-rails", "ruby", "capistrano"]
Videos not uploading with Paperclip Gem - ffmpeg in Rails , tagged: ["ruby", "video", "ruby-on-rails-4", "migration", "paperclip"]
ERROR: While executing gem ... (Errno::EINVAL) Invalid argument - ./ActionDispatch/Routing/Mapper/Scoping/: , tagged: ["ruby-on-rails", "ruby"]