文件名称:Rails.5.Revealed.For.those.Upgrading.to.Version.5
文件大小:4MB
文件格式:PDF
更新时间:2019-06-02 04:48:25
Ruby Rails
This short early adopter book details both how you'll upgrade existing web and other applications from Rails 4.2 to 5 and how to create new applications in Rails 5. The headline features, Rails API and ActionCable, are each looked at in detail, building small example projects to demonstrate how to build a JSON API, add real-time notifications to a page and how to create a single-page application. All the breaking changes are shown, along with how to fix your app to work with the new API, and the improvements to ActiveRecord and the testing framework are fully detailed. After reading and using this book, you'll be poised to move forward with building your apps with the new Rails 5 as it stands now and when it finalizes. What You'll Learn What are the new changes to Rails 5 and how to upgrade from Rails 4.2 How to use the new Ruby Persistence tool/framework, ActiveRecord How to handle test framework changes What are the latest Rails API and how to employ them What is and how to use the new ActionCable Audience This short book is aimed at existing Rails developers who are looking to quickly get up to speed with the changes in the new Rails 5 framework. Table of Contents Chapter 1: Upgrading to Rails 5 Chapter 2: Changes from Rails 4.2 Chapter 3: Active Record Chapter 4: Testing Chapter 5: Rails API Chapter 6: Action Cable