work to add docs and upgrade to Rails 4