cta quote button

Best Ruby on Rails Books You Must Read

Read More

How Much Does It Cost to Hire Web Developers in Ukraine?

Our pricing is completely transparent: you pay your engineers’ salaries and a flat monthly fee for our services. No hidden charges.

Read More

1. Ruby on Rails Tutorial: Learn Web Development with Rails (4th Edition) (Addison-Wesley Professional Ruby Series) (2016)

Ruby on Rails™ Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps.”

— Peter Cooper, Editor of Ruby Inside

 

Used by sites as varied as Twitter, GitHub, Disney, and Airbnb, Ruby on Rails is one of the most popular frameworks for developing web applications, but it can be challenging to learn and use. Whether you’re new to web development or new only to Rails, Ruby on Rails™ Tutorial, Fourth Edition, is the solution.

 

Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of three example applications of increasing sophistication. The tutorial’s examples focus on the general principles of web development needed for virtually any kind of website. The updates to this edition include full compatibility with Rails 5, a division of the largest chapters into more manageable units, and a huge number of new exercises interspersed in each chapter for maximum reinforcement of the material.

 

This indispensable guide provides integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, and SQL skills you need when developing web applications. Hartl explains how each new technique solves a real-world problem, and then he demonstrates it with bite-sized code that’s simple enough to understand, yet novel enough to be useful. Whatever your previous web development experience, this book will guide you to true Rails mastery.

 

This book will help you

  • Install and set up your Rails development environment, including pre-installed integrated development environment (IDE) in the cloud
  • Go beyond generated code to truly understand how to build Rails applications from scratch
  • Learn testing and test-driven development (TDD)
  • Effectively use the Model-View-Controller (MVC) pattern
  • Structure applications using the REST architecture
  • Build static pages and transform them into dynamic ones
  • Master the Ruby programming skills all Rails developers need
  • Create high-quality site layouts and data models
  • Implement registration and authentication systems, including validation and secure passwords
  • Update, display, and delete users
  • Upload images in production using a cloud storage service
  • Implement account activation and password reset, including sending email with Rails
  • Add social features and microblogging, including an introduction to Ajax
  • Record version changes with Git and create a secure remote repository at Bitbucket
  • Deploy your applications early and often with Heroku

Author(s): Michael Hartl

2. The Rails 5 Way (4th Edition) (Addison-Wesley Professional Ruby Series) (2017)

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 Rails™ 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

Register your product at informit.com/register for convenient access to downloads, updates, and/or corrections as they become available.

Author(s): Obie Fernandez

3. Ruby on Rails Tutorial: Learn Web Development with Rails (3rd Edition) (Addison-Wesley Professional Ruby) (2015)

Ruby on Rails™ Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps.”

—Peter Cooper, Editor of Ruby Inside

 

Used by sites as diverse as Twitter, GitHub, Disney, and the Yellow Pages, Ruby on Rails is one of the most popular frameworks for developing web applications, but it can be challenging to learn and use. Whether you’re new to web development or new only to Rails, Ruby on Rails™ Tutorial, Third Edition, is the solution.

 

Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of three example applications of increasing sophistication, focusing on the fundamental techniques in web development needed for virtually any kind of application. The updates to this edition include simplified installation via a standard development environment in the cloud, use of the default Rails stack throughout, a light-weight testing approach, an all-new section on image upload, and an all-new chapter on account activation and password resets, including sending email with Rails.

 

This indispensable guide provides integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, and SQL skills you’ll need when developing web applications. Hartl explains how each new technique solves a real-world problem, and then he demonstrates it with bite-sized code that’s simple enough to understand, yet novel enough to be useful. Whatever your previous web development experience, this book will guide you to true Rails mastery.

 

This book will help you

  • Install and set up your Rails development environment, including a pre-installed integrated development environment (IDE) in the cloud
  • Go beyond generated code to truly understand how to build Rails applications from scratch
  • Learn testing and test-driven development (TDD)
  • Effectively use the Model-View-Controller (MVC) pattern
  • Structure applications using the REST architecture
  • Build static pages and transform them into dynamic ones
  • Master the Ruby programming skills all Rails developers need
  • Create high-quality site layouts and data models
  • Implement registration and authentication systems, including validation and secure passwords
  • Update, display, and delete users
  • Upload images in production using a cloud storage service
  • Implement account activation and password reset, including sending email with Rails
  • Add social features and microblogging, including an introduction to Ajax
  • Record version changes with Git and create a secure remote repository at Bitbucket
  • Deploy your applications early and often with Heroku

Author(s): Michael Hartl

4. Ruby on Rails: Up and Running (2006)

Ruby on Rails is the super-productive new way to develop full-featuredweb applications. With Ruby on Rails, powerful web applications thatonce took weeks or months to develop can now be produced in a matter ofdays. If it sounds too good to be true, it isn’t.

If you’re like a lot of web developers, you’ve probably consideredkicking the tires on Rails – the framework of choice for the newgeneration of Web 2.0 developers. Ruby on Rails: Up and Running takes you out for a test drive and shows you just how fastRuby on Rails can go.

This compact guide teaches you the basics of installing and using boththe Ruby scripting language and the Rails framework for the quickdevelopment of web applications. Ruby on Rails: Up andRunning covers just about everything youneed – from making a simple database-backed application toadding elaborate Ajaxian features and all the juicy bits in between.While Rails is praised for its simplicity and speed of development,there are still a few steps to master on the way. More advancedmaterial helps you map data to an imperfect table, traverse complexrelationships, and build custom finders. A section on working with Ajaxand REST shows you how to exploit the Rails service frameworks to sendemails, implement web services, and create dynamic user-centric webpages. The book also explains the essentials of logging to findperformance problems and delves into other performance-optimizingtechniques.

As new web development frameworks go, Ruby on Rails is the talk of thetown. And Ruby on Rails: Up and Running can makesure you’re in on the discussion.

Author(s): Bruce Tate, Curt Hibbs

5. The Well-Grounded Rubyist (2014)

Summary
The Well-Grounded Rubyist, Second Edition addresses both newcomers to Ruby as well as Ruby programmers who want to deepen their understanding of the language. This beautifully written and totally revised second edition includes coverage of features that are new in Ruby 2.1, as well as expanded and updated coverage of aspects of the language that have changed.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
This is a good time for Ruby! It's powerful like Java or C++, and has dynamic features that let your code react gracefully to changes at runtime. And it's elegant, so creating applications, development tools, and administrative scripts is easier and more straightforward. With the long-awaited Ruby 2, an active development community, and countless libraries and productivity tools, Ruby has come into its own.
About the Book
The Well-Grounded Rubyist, Second Edition is a beautifully written tutorial that begins with your first Ruby program and goes on to explore sophisticated topics like callable objects, reflection, and threading. The book concentrates on the language, preparing you to use Ruby in any way you choose. This second edition includes coverage of new Ruby features such as keyword arguments, lazy enumerators, and Module#prepend, along with updated information on new and changed core classes and methods.
What's Inside

  • Clear explanations of Ruby concepts
  • Numerous simple examples
  • Updated for Ruby 2.1
  • Prepares you to use Ruby anywhere for any purpose

About the Author
David A. Black is an internationally-known software developer, author, trainer, speaker, and event organizer. He is a Ruby standard library contributor and one of the founders of Ruby Central, Inc., the parent organization of the official international Ruby and Ruby on Rails conferences. David works at 2U, Inc. in New York City.

Table of Contents

    PART 1 RUBY FOUNDATIONS

  1. Bootstrapping your Ruby literacy
  2. Objects, methods, and local variables
  3. Organizing objects with classes
  4. Modules and program organization
  5. The default object (self), scope, and visibility
  6. Control-flow techniques
  7. PART 2 BUILT-IN CLASSES AND MODULES

  8. Built-in essentials
  9. Strings, symbols, and other scalar objects
  10. Collection and container objects
  11. Collections central: Enumerable and Enumerator
  12. Regular expressions and regexp-based string operations
  13. File and I/O operations
  14. PART 3 RUBY DYNAMICS

  15. Object individuation
  16. Callable and runnable objects
  17. Callbacks, hooks, and runtime introspection

Author(s): David A. Black

6. Ruby For Beginners: Your Guide To Easily Learn Ruby Programming in 7 days (2017)

Are You Ready To Learn Ruby Easily?

This book aims to guide a complete novice in Ruby programming. This book is carefully crafted to aid the new or inexperienced programmer in learning to write a code in Ruby language. If you are someone who somehow developed a fear to explore the unknown and still interested in learning Ruby programming, then this book can truly help you. This book covers everything that a beginner in Ruby programming should learn. Understand that programming offers an infinite amount of information and knowledge. However, this book understands that it may overwhelm a mere beginner in programming if it tackles even the advanced features of the Ruby language. This book can help you build a solid, basic knowledge in programming that can help you a lot when you begin to write your own program in Ruby language. You can use the acquired knowledge to pursue or learn more about Ruby’s advanced concepts later on. For now, just concentrate on the basics and make sure to absorb every lesson before you go to the next one. Practice makes perfect and this book provides a lot of practice programs or exercises that can help you enhance your experience in Ruby programming. The exercises are simple and easy to understand to help you comprehend the lesson quickly. You also need to take note of the error messages that you may encounter. Let them serve as your guide so you can avoid the same mistake in the future or help you resolve the same error when you encounter them once more. Learning Ruby programming in 7 days is not something impossible to accomplish. Even a person with a little or no experience with any programming language can learn it within those days. As you go through each lesson, you will notice that it is quite easy to understand. It becomes much simpler when you have patience and discipline. Understand that you will be able to learn the Ruby basics in 7 days, but that won’t make you an instant expert. You still need to practice and work your way in discovering the cool things that you can do with Ruby as you go along. Even expert programmers need to spend ample time in honing their programming skills. Before you know it, you are ready to create a more complex program. This book presents everything that a novice may need in understanding the basic Ruby programming. It is presented in such a way that anyone without prior programming knowledge will find it easy to understand – most technical jargons were kept to minimal, and they are the terminologies that you will likely encounter once you have started writing your program.

Here’s What You’ll Learn From This Ruby For Beginners Book:

✓ Chapter 1: Getting acquainted with ruby ✓ Chapter 2: Initial Preparations ✓ Chapter 3: Start with the Basics ✓ Chapter 4: Ruby Variables ✓ Chapter 5: All About Methods ✓ Chapter 6: Flow Control ✓ Chapter 7: Iterators and Loops ✓ Chapter 8: More on Arrays and Hashes

What Are You Waiting For?

Start Coding Ruby Right Now!

Author(s): iCode Academy

7. Ruby on Rails 5.0 for Autodidacts: Learn Ruby 2.3 and Rails 5.0 (2016)

A step by step guide to learn Ruby on Rails 5.0. It includes a basic tutorial for Ruby 2.3 and is written for programmers who know at least one other programming language and are familiar with HTML. It covers Active Record, Scaffolding, REST, Routing, Bundler, Test Driven Development, Cookies, Sessions, Action Mailer, I18n, Asset Pipeline, JavaScript, Caching, Templates and of course the new 5.0 features Action Cable and Active Job.

Author(s): Stefan Wintermeyer

8. Rails: Novice to Ninja: Build Your Own Ruby on Rails Website (2016)

Rails: Novice to Ninja is an easy-to-follow, practical and fun guide to Ruby on Rails for beginners. It covers all you need to get up and running, from installing Ruby, Rails and SQLite to building and deploying a fully-featured web application. The third edition of this book has been fully updated to cover Rails 5, the latest version of the framework.

Unlike other Rails books, this book doesn’t assume that you are an experienced web developer, or that you’ve used Ruby before. An entire chapter is devoted to learning Ruby in a fun way, using the interactive Ruby console, so you can follow along at home. You’ll be an accomplished Ruby programmer in no time! You’ll then start using Rails to build a practical, working project: a Reddit-like social news application. As you’ll build the app, you’ll gain valuable experience of using Rails features such as user authentication, session cookies, and automated testing. The book finishes with chapters on debugging, benchmarking and deployment to a live web server.

Author(s): Glenn Goodrich, Patrick Lenz

9. The Well Grounded Rubyist (2018)

Ruby is a dynamic language perfect for creating applications, development tools, and administrative scripts.

The Well-Grounded Rubyist, Third Edition is a perfect tutorial for newcomers to Ruby and a great way for experienced Rubyists to deepen their understanding of the language.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Author(s): David A. Black, Leo, Joseph, III

10. Agile Web Development with Rails 5.1 (2017)

Learn Rails the way the Rails core team recommends it, along with the tens of thousands of developers who have used this broad, far-reaching tutorial and reference. If you’re new to Rails, you’ll get step-by-step guidance. If you’re an experienced developer, get the comprehensive, insider information you need for the latest version of Ruby on Rails. The new edition of this award-winning classic is completely updated for Rails 5.1 and Ruby 2.4, with information on system testing, Webpack, and advanced JavaScript.

Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly—you concentrate on creating the application, and Rails takes care of the details. Rails 5.1 brings many improvements, and this edition is updated to cover the new features and changes in best practices.

We start with a step-by-step walkthrough of building a real application, and in-depth chapters look at the built-in Rails features. Follow along with an extended tutorial as you write a web-based store application. Eliminate tedious configuration and housekeeping; seamlessly incorporate Ajax and JavaScript; send emails and manage background jobs with ActiveJob; build real-time features using WebSockets and ActionCable. Test your applications as you write them using the built-in unit, integration, and system testing frameworks; internationalize your applications; and deploy your applications easily and securely. New in this edition is support for Webpack and advanced JavaScript, as well as Rails’ new browser-based system testing.

Rails 1.0 was released in December 2005. This book was there from the start, and didn’t just evolve alongside Rails, it evolved with Rails. It has been developed in consultation with the Rails core team. In fact, Rails itself is tested against the code in this book.

What You Need:

All you need is a Windows, Mac OS X, or Linux machine to do development on. This book will take you through the steps to install Rails and its dependencies. If you aren’t familiar with the Ruby programming language, this book contains a chapter that covers the basics necessary to understand the material in the book.

Author(s): Sam Ruand David B. Copeland

11. Ruby on Rails For Dummies (2007)

Quickly create Web sites with this poweful tool

Use this free and easy programming language for e-commerce sites and blogs

If you need to build Web and database applications quickly but you don’t dream in computer code, take heart! Ruby on Rails was created for you, and this book will have you up and running in no time. The Ruby scripting language and the Rails framework let you create full-featured Web applications fast. It’s even fun!

Discover how to

  • Install and run Ruby and Rails
  • Use the RadRails IDE
  • Create a blog with Ruby
  • Connect your Web site to a database
  • Build a shopping cart
  • Explore Ruby’s syntax

Author(s): Barry A. Burd

12. Practical Object-Oriented Design in Ruby: An Agile Primer (Addison-Wesley Professional Ruby) (2012)

The Complete Guide to Writing More Maintainable, Manageable, Pleasing, and Powerful Ruby Applications

 

Ruby’s widely admired ease of use has a downside: Too many Ruby and Rails applications have been created without concern for their long-term maintenance or evolution. The Web is awash in Ruby code that is now virtually impossible to change or extend. This text helps you solve that problem by using powerful real-world object-oriented design techniques, which it thoroughly explains using simple and practical Ruby examples.

 

Sandi Metz has distilled a lifetime of conversations and presentations about object-oriented design into a set of Ruby-focused practices for crafting manageable, extensible, and pleasing code. She shows you how to build new applications that can survive success and repair existing applications that have become impossible to change. Each technique is illustrated with extended examples, all downloadable from the companion Web site, poodr.info.

 

The first title to focus squarely on object-oriented Ruby application design, Practical Object-Oriented Design in Ruby will guide you to superior outcomes, whatever your previous Ruby experience. Novice Ruby programmers will find specific rules to live by; intermediate Ruby programmers will find valuable principles they can flexibly interpret and apply; and advanced Ruby programmers will find a common language they can use to lead development and guide their colleagues.

 

This guide will help you

  • Understand how object-oriented programming can help you craft Ruby code that is easier to maintain and upgrade
  • Decide what belongs in a single Ruby class
  • Avoid entangling objects that should be kept separate
  • Define flexible interfaces among objects
  • Reduce programming overhead costs with duck typing
  • Successfully apply inheritance
  • Build objects via composition
  • Design cost-effective tests
  • Solve common problems associated with poorly designed Ruby code

 

Author(s): Sandi Metz

Get a FREE Consultation

- Want to learn more about how we work?
- Not sure if we meet all your criteria?
- Too shy or busy to give a call?