middbites project on Rails 4