Book Cover
E-book
Author Notodikromo, Adam

Title Learn Rails 6 : accelerated web development with Ruby on Rails / Adam Notodikromo
Published Berkeley, CA : Apress, 2020

Copies

Description 1 online resource (549 pages)
Contents Intro -- Table of Contents -- About the Author -- Acknowledgments -- Introduction -- Chapter 1: First Things Rails -- The Web Chronicles -- Why Rails? -- Simplicity Through Conventions -- Increased Signal to Noise -- MVC Architecture -- ActiveRecord -- Automated Testing -- Maximizing Developer Happiness -- Multiple Environments -- Rapid Application Development -- Open Source -- Preparing the Toolbox -- Node.js -- Ruby 2.6.5 -- An Overview of the Project -- PostgreSQL 11 with PostGIS -- Rails 6 -- Integrated Development Environment -- Development -- In the Beginning -- Directory Structure
Starting the Server -- Committing to Version Control -- Scaffolding Greeting -- Tour of the Routes -- Examining Actions -- Rails Console -- Layout -- Deployment -- Rails 6 vs. Rails 5: New Features -- Database Read/Write Switch -- ActionMailbox -- Zeitwerk -- Replanting Seed (and Truncation) -- Action Text -- Environment-Specific Credentials -- Webpacker -- Summary -- Chapter 2: Fundamental Ruby -- Interactive Ruby (irb) and Variables -- nil -- The Boolean System -- Numeric -- String -- Array -- Symbol -- Hash -- Summary -- Chapter 3: Advanced Ruby -- Methods -- Classes -- Modules
Lambdas and Blocks -- Metaprogramming -- Exception Handling -- Regular Expressions -- Bundler and Gemfiles -- Summary -- Chapter 4: Modeling the Models -- What Is a Database? -- Initializing Tandibi -- Welcoming Our Models -- User -- Bond -- Post -- Picture -- Status -- Place -- Sight -- Fundamental Techniques -- Defining a Model -- Initializing a Record -- Saving and Updating Data -- Finding Data -- Deleting Data -- Detecting Changes -- Transactional Block -- Domain Logics -- Validations and Errors -- Validating Data Uniqueness -- Validating Data Existence -- Restricting Possible Value
Validating Data Conformity -- Other Validation Techniques -- Investigating Errors -- Forcing a Save -- Associations -- One-to-One (belongs_to) -- One-to-Many -- One-to-Many Through -- Many-to-Many -- Polymorphic Association -- Single-Table Inheritance -- Callbacks -- Enrichment -- Factory Bot: Record Maker -- Automated Data Population -- Enumerated Values -- Scopes -- Active Model -- Summary -- Chapter 5: Session and Authentication -- First, Let's Sketch It -- ERB Templates 101 -- Setting Up tailwind.css -- Authentication with Devise -- Integrating Devise -- Setting Up the Layout
Customizing the Sign-Up Page -- Customizing the Sign-in Page -- Customizing the Forgot Password Page -- Customizing the Reset Password Page -- Proper Home Page -- Email Makeover -- Summary -- Chapter 6: Building the Timeline -- Let's Build the Timeline -- Preparing the Foundation -- Preparing the Layout -- Working on the Mass Timeline -- Using the Decorator Pattern -- Unit Testing a View -- Building the User's Timeline -- Say Something -- Preparing the User Interface -- Doing the Backend Work -- Performing Request Testing -- Posting a Comment -- Summary -- Chapter 7: Picturesque Storage
Summary Effectively learn and apply software development and engineering techniques to web application development using Rails 6 with this accelerated tutorial. This book teaches modern engineering practices including git flow, containerization, debugging, testing, and deployment. Along the way, you'll see how to build a social network application and then deploy it on a cloud provider such as Amazon Web Services. After reading and using this book, you'll be able to effectively build and deploy your Rails application to the cloud. You'll also have used the Ruby on Rails framework to carry out the rapid development of an idea into a product without sacrificing quality. What You Will Learn Use the Ruby on Rails 6 web development framework Integrate Docker with your Ruby on Rails code Apply software engineering techniques to learning the Rails framework Design, build, and deploy a social networking application to the Amazon cloud Who This Book Is For Beginners with at least some prior programming experience. Ruby experience is helpful, but not required
Notes Includes index
Print version record
Online resource; title from PDF title page (SpringerLink, viewed January 12, 2021)
SUBJECT Ruby on rails (Electronic resource) http://id.loc.gov/authorities/names/n2007054474
Ruby on rails (Electronic resource) fast
Subject Web applications -- Development
Form Electronic book
ISBN 9781484260265
1484260260