With Rails Tutorial , based on Rails 4