Author: Anthony Lewis
Publisher: No Starch Press
ISBN: 1593276230
Category : Computers
Languages : en
Pages : 298
Book Description
Rails is a robust, flexible development platform that lets you build complex websites quickly. Major websites like GitHub, Hulu, and Twitter have run Rails under the hood, and if you know just enough HTML and CSS to be dangerous, Rails Crash Course will teach you to harness Rails for your own projects and create web applications that are fast, stable, and secure. In Part I, you’ll learn Ruby and Rails fundamentals and then dive straight into models, controllers, views, and deployment. As you work through the basics, you’ll learn how to: –Craft persistent models with Active Record –Build view templates with Embedded Ruby –Use Git to roll back to previous versions of your code base –Deploy applications to Heroku In Part II, you’ll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails’s Active Record. You’ll learn how to: –Implement an authentication system to identify authorized users –Write your own automated tests and refactor your code with confidence –Maximize performance with the asset pipeline and turbolinks –Secure your app against SQL injection and cross-site scripting –Set up a server and deploy applications with Capistrano Each chapter is packed with hands-on examples and exercises to reinforce what you’ve learned. Whether you’re completely new to Ruby or you’ve been mucking around for a bit, Rails Crash Course will take you from the basics to shipping your first Rails application, fast.
Rails Crash Course
Author: Anthony Lewis
Publisher: No Starch Press
ISBN: 1593276230
Category : Computers
Languages : en
Pages : 298
Book Description
Rails is a robust, flexible development platform that lets you build complex websites quickly. Major websites like GitHub, Hulu, and Twitter have run Rails under the hood, and if you know just enough HTML and CSS to be dangerous, Rails Crash Course will teach you to harness Rails for your own projects and create web applications that are fast, stable, and secure. In Part I, you’ll learn Ruby and Rails fundamentals and then dive straight into models, controllers, views, and deployment. As you work through the basics, you’ll learn how to: –Craft persistent models with Active Record –Build view templates with Embedded Ruby –Use Git to roll back to previous versions of your code base –Deploy applications to Heroku In Part II, you’ll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails’s Active Record. You’ll learn how to: –Implement an authentication system to identify authorized users –Write your own automated tests and refactor your code with confidence –Maximize performance with the asset pipeline and turbolinks –Secure your app against SQL injection and cross-site scripting –Set up a server and deploy applications with Capistrano Each chapter is packed with hands-on examples and exercises to reinforce what you’ve learned. Whether you’re completely new to Ruby or you’ve been mucking around for a bit, Rails Crash Course will take you from the basics to shipping your first Rails application, fast.
Publisher: No Starch Press
ISBN: 1593276230
Category : Computers
Languages : en
Pages : 298
Book Description
Rails is a robust, flexible development platform that lets you build complex websites quickly. Major websites like GitHub, Hulu, and Twitter have run Rails under the hood, and if you know just enough HTML and CSS to be dangerous, Rails Crash Course will teach you to harness Rails for your own projects and create web applications that are fast, stable, and secure. In Part I, you’ll learn Ruby and Rails fundamentals and then dive straight into models, controllers, views, and deployment. As you work through the basics, you’ll learn how to: –Craft persistent models with Active Record –Build view templates with Embedded Ruby –Use Git to roll back to previous versions of your code base –Deploy applications to Heroku In Part II, you’ll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails’s Active Record. You’ll learn how to: –Implement an authentication system to identify authorized users –Write your own automated tests and refactor your code with confidence –Maximize performance with the asset pipeline and turbolinks –Secure your app against SQL injection and cross-site scripting –Set up a server and deploy applications with Capistrano Each chapter is packed with hands-on examples and exercises to reinforce what you’ve learned. Whether you’re completely new to Ruby or you’ve been mucking around for a bit, Rails Crash Course will take you from the basics to shipping your first Rails application, fast.
Rails Crash Course
Author: Anthony Lewis
Publisher: No Starch Press
ISBN: 1593275722
Category : Computers
Languages : en
Pages : 298
Book Description
Rails is a robust, flexible development platform that lets you build complex websites quickly. Major websites like GitHub, Hulu, and Twitter have run Rails under the hood, and if you know just enough HTML and CSS to be dangerous, Rails Crash Course will teach you to harness Rails for your own projects and create web applications that are fast, stable, and secure. In Part I, you’ll learn Ruby and Rails fundamentals and then dive straight into models, controllers, views, and deployment. As you work through the basics, you’ll learn how to: –Craft persistent models with Active Record –Build view templates with Embedded Ruby –Use Git to roll back to previous versions of your code base –Deploy applications to Heroku In Part II, you’ll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails’s Active Record. You’ll learn how to: –Implement an authentication system to identify authorized users –Write your own automated tests and refactor your code with confidence –Maximize performance with the asset pipeline and turbolinks –Secure your app against SQL injection and cross-site scripting –Set up a server and deploy applications with Capistrano Each chapter is packed with hands-on examples and exercises to reinforce what you’ve learned. Whether you’re completely new to Ruby or you’ve been mucking around for a bit, Rails Crash Course will take you from the basics to shipping your first Rails application, fast.
Publisher: No Starch Press
ISBN: 1593275722
Category : Computers
Languages : en
Pages : 298
Book Description
Rails is a robust, flexible development platform that lets you build complex websites quickly. Major websites like GitHub, Hulu, and Twitter have run Rails under the hood, and if you know just enough HTML and CSS to be dangerous, Rails Crash Course will teach you to harness Rails for your own projects and create web applications that are fast, stable, and secure. In Part I, you’ll learn Ruby and Rails fundamentals and then dive straight into models, controllers, views, and deployment. As you work through the basics, you’ll learn how to: –Craft persistent models with Active Record –Build view templates with Embedded Ruby –Use Git to roll back to previous versions of your code base –Deploy applications to Heroku In Part II, you’ll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails’s Active Record. You’ll learn how to: –Implement an authentication system to identify authorized users –Write your own automated tests and refactor your code with confidence –Maximize performance with the asset pipeline and turbolinks –Secure your app against SQL injection and cross-site scripting –Set up a server and deploy applications with Capistrano Each chapter is packed with hands-on examples and exercises to reinforce what you’ve learned. Whether you’re completely new to Ruby or you’ve been mucking around for a bit, Rails Crash Course will take you from the basics to shipping your first Rails application, fast.
Eloquent Ruby
Author: Russ Olsen
Publisher: Addison-Wesley Professional
ISBN: 0321700279
Category : Computers
Languages : en
Pages : 446
Book Description
It’s easy to write correct Ruby code, but to gain the fluency needed to write great Ruby code, you must go beyond syntax and absorb the “Ruby way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do–so you can leverage its immense, surprising power. Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. He guides you to the “Ah Ha!” moments when it suddenly becomes clear why Ruby works the way it does, and how you can take advantage of this language’s elegance and expressiveness. Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. You’ll learn how to write code that actually looks like Ruby (not Java or C#); why Ruby has so many control structures; how to use strings, expressions, and symbols; and what dynamic typing is really good for. Next, the book addresses bigger questions related to building methods and classes. You’ll discover why Ruby classes contain so many tiny methods, when to use operator overloading, and when to avoid it. Olsen explains how to write Ruby code that writes its own code–and why you’ll want to. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages. A part of the renowned Addison-Wesley Professional Ruby Series, Eloquent Ruby will help you “put on your Ruby-colored glasses” and get results that make you a true believer.
Publisher: Addison-Wesley Professional
ISBN: 0321700279
Category : Computers
Languages : en
Pages : 446
Book Description
It’s easy to write correct Ruby code, but to gain the fluency needed to write great Ruby code, you must go beyond syntax and absorb the “Ruby way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do–so you can leverage its immense, surprising power. Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. He guides you to the “Ah Ha!” moments when it suddenly becomes clear why Ruby works the way it does, and how you can take advantage of this language’s elegance and expressiveness. Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. You’ll learn how to write code that actually looks like Ruby (not Java or C#); why Ruby has so many control structures; how to use strings, expressions, and symbols; and what dynamic typing is really good for. Next, the book addresses bigger questions related to building methods and classes. You’ll discover why Ruby classes contain so many tiny methods, when to use operator overloading, and when to avoid it. Olsen explains how to write Ruby code that writes its own code–and why you’ll want to. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages. A part of the renowned Addison-Wesley Professional Ruby Series, Eloquent Ruby will help you “put on your Ruby-colored glasses” and get results that make you a true believer.
Advanced Rails
Author: Brad Ediger
Publisher: "O'Reilly Media, Inc."
ISBN: 0596555083
Category : Computers
Languages : en
Pages : 360
Book Description
Ready to go to the next level with Rails? From examining the parts of Ruby that make this framework possible to deploying large Rails applications, Advanced Rails offers you an in-depth look at techniques for dealing with databases, security, performance, web services and much more. Chapters in this book help you understand not only the tricks and techniques used within the Rails framework itself, but also how to make use of ideas borrowed from other programming paradigms. Advanced Rails pays particular attention to building applications that scale -- whether "scale" means handling more users, or working with a bigger and more complex database. You'll find plenty of examples and code samples that explain: Aspects of Ruby that are often confusing or misunderstood Metaprogramming How to develop Rails plug-ins Different database management systems Advanced database features, including triggers, rules, and stored procedures How to connect to multiple databases When to use the Active Support library for generic, reusable functions Security principles for web application design, and security issues endemic to the Web When and when not to optimize performance Why version control and issue tracking systems are essential to any large or long-lived Rails project Advanced Rails also gives you a look at REST for developing web services, ways to incorporate and extend Rails, how to use internationalization, and many other topics. If you're just starting out with rails, or merely experimenting with the framework, this book is not for you. But if you want to improve your skills with Rails through advanced techniques, this book is essential.
Publisher: "O'Reilly Media, Inc."
ISBN: 0596555083
Category : Computers
Languages : en
Pages : 360
Book Description
Ready to go to the next level with Rails? From examining the parts of Ruby that make this framework possible to deploying large Rails applications, Advanced Rails offers you an in-depth look at techniques for dealing with databases, security, performance, web services and much more. Chapters in this book help you understand not only the tricks and techniques used within the Rails framework itself, but also how to make use of ideas borrowed from other programming paradigms. Advanced Rails pays particular attention to building applications that scale -- whether "scale" means handling more users, or working with a bigger and more complex database. You'll find plenty of examples and code samples that explain: Aspects of Ruby that are often confusing or misunderstood Metaprogramming How to develop Rails plug-ins Different database management systems Advanced database features, including triggers, rules, and stored procedures How to connect to multiple databases When to use the Active Support library for generic, reusable functions Security principles for web application design, and security issues endemic to the Web When and when not to optimize performance Why version control and issue tracking systems are essential to any large or long-lived Rails project Advanced Rails also gives you a look at REST for developing web services, ways to incorporate and extend Rails, how to use internationalization, and many other topics. If you're just starting out with rails, or merely experimenting with the framework, this book is not for you. But if you want to improve your skills with Rails through advanced techniques, this book is essential.
Jump Start Rails
Author: Andy Hawthorne
Publisher: Sitepoint
ISBN: 9780987467423
Category : Computers
Languages : en
Pages : 0
Book Description
In just a few short years, Ruby on Rails has grown from a cool, hipster upstart to a global powerhouse. Developers around the world are passionate about Rails and this work explains why and gives you the basics you need to start building Rails applications. In this work, you'll learn about Ruby and Model-View Controller architecture, how to build a Rails application, and to deploy it using Heroku.
Publisher: Sitepoint
ISBN: 9780987467423
Category : Computers
Languages : en
Pages : 0
Book Description
In just a few short years, Ruby on Rails has grown from a cool, hipster upstart to a global powerhouse. Developers around the world are passionate about Rails and this work explains why and gives you the basics you need to start building Rails applications. In this work, you'll learn about Ruby and Model-View Controller architecture, how to build a Rails application, and to deploy it using Heroku.
Enterprise Rails
Author: Dan Chak
Publisher: "O'Reilly Media, Inc."
ISBN: 0596554087
Category : Computers
Languages : en
Pages : 354
Book Description
What does it take to develop an enterprise application with Rails? Enterprise Rails introduces several time-tested software engineering principles to prepare you for the challenge of building a high-performance, scalable website with global reach. You'll learn how to design a solid architecture that ties the many parts of an enterprise website together, including the database, your servers and clients, and other services as well. Many Rails developers think that planning for scale is unnecessary. But there's nothing worse than an application that fails because it can't handle sudden success. Throughout this book, you'll work on an example enterprise project to learn first-hand what's involved in architecting serious web applications. With this book, you will: Tour an ideal enterprise systems layout: how Rails fits in, and which elements don't rely on Rails Learn to structure a Rails 2.0 application for complex websites Discover how plugins can support reusable code and improve application clarity Build a solid data model -- a fortress -- that protects your data from corruption Base an ActiveRecord model on a database view, and build support for multiple table inheritance Explore service-oriented architecture and web services with XML-RPC and REST See how caching can be a dependable way to improve performance Building for scale requires more work up front, but you'll have a flexible website that can be extended easily when your needs change. Enterprise Rails teaches you how to architect scalable Rails applications from the ground up. "Enterprise Rails is indispensable for anyone planning to build enterprise web services. It's one thing to get your service off the ground with a framework like Rails, but quite another to construct a system that will hold up at enterprise scale. The secret is to make good architectural choices from the beginning. Chak shows you how to make those choices. Ignore his advice at your peril."-- Hal Abelson, Prof. of Computer Science and Engineering, MIT
Publisher: "O'Reilly Media, Inc."
ISBN: 0596554087
Category : Computers
Languages : en
Pages : 354
Book Description
What does it take to develop an enterprise application with Rails? Enterprise Rails introduces several time-tested software engineering principles to prepare you for the challenge of building a high-performance, scalable website with global reach. You'll learn how to design a solid architecture that ties the many parts of an enterprise website together, including the database, your servers and clients, and other services as well. Many Rails developers think that planning for scale is unnecessary. But there's nothing worse than an application that fails because it can't handle sudden success. Throughout this book, you'll work on an example enterprise project to learn first-hand what's involved in architecting serious web applications. With this book, you will: Tour an ideal enterprise systems layout: how Rails fits in, and which elements don't rely on Rails Learn to structure a Rails 2.0 application for complex websites Discover how plugins can support reusable code and improve application clarity Build a solid data model -- a fortress -- that protects your data from corruption Base an ActiveRecord model on a database view, and build support for multiple table inheritance Explore service-oriented architecture and web services with XML-RPC and REST See how caching can be a dependable way to improve performance Building for scale requires more work up front, but you'll have a flexible website that can be extended easily when your needs change. Enterprise Rails teaches you how to architect scalable Rails applications from the ground up. "Enterprise Rails is indispensable for anyone planning to build enterprise web services. It's one thing to get your service off the ground with a framework like Rails, but quite another to construct a system that will hold up at enterprise scale. The secret is to make good architectural choices from the beginning. Chak shows you how to make those choices. Ignore his advice at your peril."-- Hal Abelson, Prof. of Computer Science and Engineering, MIT
Rails Crash Course
Author: Anthony Lewis
Publisher:
ISBN: 9781457185403
Category :
Languages : en
Pages :
Book Description
Publisher:
ISBN: 9781457185403
Category :
Languages : en
Pages :
Book Description
The Rails 3 Way
Author: Obie Fernandez
Publisher: Pearson Education
ISBN: 013248031X
Category : Computers
Languages : en
Pages : 903
Book Description
The RailsTM 3 Way is a comprehensive resource that digs into the new features in Rails 3 and perhaps more importantly, the rationale behind them. —Yehuda Katz, Rails Core The Bible for Ruby on Rails Application Development Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value via clean and maintainable code. The RailsTM 3 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 3. Pioneering Rails expert Obie Fernandez and a team of leading experts illuminate the entire Rails 3 API, along with the idioms, design approaches, and libraries that make developing applications with Rails so powerful. Drawing on their unsurpassed experience and track record, they address the real challenges development teams face, showing how to use Rails 3 to maximize your productivity. Using numerous detailed code examples, the author systematically covers Rails 3 key capabilities and subsystems, making this book a reference that you will turn to again and again. He presents advanced Rails programming techniques that have been proven effective in day-to-day usage on dozens of production Rails systems and offers important insights into behavior-driven development and production considerations such as scalability. Dive deep into the Rails 3 codebase and discover why Rails is designed the way it is—and how to make it do what you want it to do. This book will help you Learn what’s new in Rails 3 Increase your productivity as a web application developer Realize the overall joy in programming with Rails Leverage Rails’ powerful capabilities for building REST-compliant APIs Drive implementation and protect long-term maintainability using RSpec Design and manipulate your domain layer using Active Record Understand and program complex program flows using Action Controller Master sophisticated URL routing concepts Use Ajax techniques via Rails 3 support for unobtrusive JavaScript Learn to extend Rails with popular gems and plugins, and how to write your own Extend Rails with the best third-party plug-ins and write your own Integrate email services into your applications with Action Mailer Improve application responsiveness with background processing Create your own non-Active Record domain classes using Active Model Master Rails’ utility classes and extensions in Active Support
Publisher: Pearson Education
ISBN: 013248031X
Category : Computers
Languages : en
Pages : 903
Book Description
The RailsTM 3 Way is a comprehensive resource that digs into the new features in Rails 3 and perhaps more importantly, the rationale behind them. —Yehuda Katz, Rails Core The Bible for Ruby on Rails Application Development Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value via clean and maintainable code. The RailsTM 3 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 3. Pioneering Rails expert Obie Fernandez and a team of leading experts illuminate the entire Rails 3 API, along with the idioms, design approaches, and libraries that make developing applications with Rails so powerful. Drawing on their unsurpassed experience and track record, they address the real challenges development teams face, showing how to use Rails 3 to maximize your productivity. Using numerous detailed code examples, the author systematically covers Rails 3 key capabilities and subsystems, making this book a reference that you will turn to again and again. He presents advanced Rails programming techniques that have been proven effective in day-to-day usage on dozens of production Rails systems and offers important insights into behavior-driven development and production considerations such as scalability. Dive deep into the Rails 3 codebase and discover why Rails is designed the way it is—and how to make it do what you want it to do. This book will help you Learn what’s new in Rails 3 Increase your productivity as a web application developer Realize the overall joy in programming with Rails Leverage Rails’ powerful capabilities for building REST-compliant APIs Drive implementation and protect long-term maintainability using RSpec Design and manipulate your domain layer using Active Record Understand and program complex program flows using Action Controller Master sophisticated URL routing concepts Use Ajax techniques via Rails 3 support for unobtrusive JavaScript Learn to extend Rails with popular gems and plugins, and how to write your own Extend Rails with the best third-party plug-ins and write your own Integrate email services into your applications with Action Mailer Improve application responsiveness with background processing Create your own non-Active Record domain classes using Active Model Master Rails’ utility classes and extensions in Active Support
The Railway Journey
Author: Wolfgang Schivelbusch
Publisher: Univ of California Press
ISBN: 0520957903
Category : Social Science
Languages : en
Pages : 246
Book Description
The impact of constant technological change upon our perception of the world is so pervasive as to have become a commonplace of modern society. But this was not always the case; as Wolfgang Schivelbusch points out in this fascinating study, our adaptation to technological change—the development of our modern, industrialized consciousness—was very much a learned behavior. In The Railway Journey, Schivelbusch examines the origins of this industrialized consciousness by exploring the reaction in the nineteenth century to the first dramatic avatar of technological change, the railroad. In a highly original and engaging fashion, Schivelbusch discusses the ways in which our perceptions of distance, time, autonomy, speed, and risk were altered by railway travel. As a history of the surprising ways in which technology and culture interact, this book covers a wide range of topics, including the changing perception of landscapes, the death of conversation while traveling, the problematic nature of the railway compartment, the space of glass architecture, the pathology of the railway journey, industrial fatigue and the history of shock, and the railroad and the city. Belonging to a distinguished European tradition of critical sociology best exemplified by the work of Georg Simmel and Walter Benjamin, The Railway Journey is anchored in rich empirical data and full of striking insights about railway travel, the industrial revolution, and technological change. Now updated with a new preface, The Railway Journey is an invaluable resource for readers interested in nineteenth-century culture and technology and the prehistory of modern media and digitalization.
Publisher: Univ of California Press
ISBN: 0520957903
Category : Social Science
Languages : en
Pages : 246
Book Description
The impact of constant technological change upon our perception of the world is so pervasive as to have become a commonplace of modern society. But this was not always the case; as Wolfgang Schivelbusch points out in this fascinating study, our adaptation to technological change—the development of our modern, industrialized consciousness—was very much a learned behavior. In The Railway Journey, Schivelbusch examines the origins of this industrialized consciousness by exploring the reaction in the nineteenth century to the first dramatic avatar of technological change, the railroad. In a highly original and engaging fashion, Schivelbusch discusses the ways in which our perceptions of distance, time, autonomy, speed, and risk were altered by railway travel. As a history of the surprising ways in which technology and culture interact, this book covers a wide range of topics, including the changing perception of landscapes, the death of conversation while traveling, the problematic nature of the railway compartment, the space of glass architecture, the pathology of the railway journey, industrial fatigue and the history of shock, and the railroad and the city. Belonging to a distinguished European tradition of critical sociology best exemplified by the work of Georg Simmel and Walter Benjamin, The Railway Journey is anchored in rich empirical data and full of striking insights about railway travel, the industrial revolution, and technological change. Now updated with a new preface, The Railway Journey is an invaluable resource for readers interested in nineteenth-century culture and technology and the prehistory of modern media and digitalization.
The Rails 5 Way
Author: Obie Fernandez
Publisher: Addison-Wesley Professional
ISBN: 0134657683
Category : Computers
Languages : en
Pages : 3047
Book Description
The “Bible” for Rails Development: Fully Updated for Rails 5 “When I read The Rails Way for the first time, I felt like I truly understood Rails for the first time.” —Steve Klabnik, Rails contributor and mentor The RailsTM 5 Way is the comprehensive, authoritative reference guide for professionals delivering production-quality code using modern Ruby on Rails. Obie Fernandez illuminates the entire Rails 5 API, its most powerful idioms, design approaches, and libraries. He presents new and updated content on Action Cable, RSpec 3.4, Turbolinks 5.0, the Attributes API, and many other enhancements, both major and subtle. Through detailed code examples, you’ll dive deep into Ruby on Rails, discover why it’s designed as it is, and learn to make it do exactly what you want. Proven in thousands of production systems, the knowledge in this book will maximize your productivity and help you build more successful solutions. Build powerful, scalable, REST-compliant back-end services Program complex program flows using Action Controller Represent models, relationships, and operations in Active Record, and apply advanced Active Record techniques Smoothly evolve database schema via Migrations Craft front-ends with ActionView and the Asset Pipeline Optimize performance and scalability with caching and Turbolinks 5.0 Improve your productivity using Haml HTML templating Secure your systems against attacks like SQL Injection, XSS, and XSRF Integrate email using Action Mailer Enable real-time, websockets-based browser behavior with Action Cable Improve responsiveness with background processing Build “API-only” back-end projects that speak JSON Leverage enhancements to Active Job, serialization, and Ajax support
Publisher: Addison-Wesley Professional
ISBN: 0134657683
Category : Computers
Languages : en
Pages : 3047
Book Description
The “Bible” for Rails Development: Fully Updated for Rails 5 “When I read The Rails Way for the first time, I felt like I truly understood Rails for the first time.” —Steve Klabnik, Rails contributor and mentor The RailsTM 5 Way is the comprehensive, authoritative reference guide for professionals delivering production-quality code using modern Ruby on Rails. Obie Fernandez illuminates the entire Rails 5 API, its most powerful idioms, design approaches, and libraries. He presents new and updated content on Action Cable, RSpec 3.4, Turbolinks 5.0, the Attributes API, and many other enhancements, both major and subtle. Through detailed code examples, you’ll dive deep into Ruby on Rails, discover why it’s designed as it is, and learn to make it do exactly what you want. Proven in thousands of production systems, the knowledge in this book will maximize your productivity and help you build more successful solutions. Build powerful, scalable, REST-compliant back-end services Program complex program flows using Action Controller Represent models, relationships, and operations in Active Record, and apply advanced Active Record techniques Smoothly evolve database schema via Migrations Craft front-ends with ActionView and the Asset Pipeline Optimize performance and scalability with caching and Turbolinks 5.0 Improve your productivity using Haml HTML templating Secure your systems against attacks like SQL Injection, XSS, and XSRF Integrate email using Action Mailer Enable real-time, websockets-based browser behavior with Action Cable Improve responsiveness with background processing Build “API-only” back-end projects that speak JSON Leverage enhancements to Active Job, serialization, and Ajax support