Agile Web Development with Rails 8 (Pragmatic Bookshelf)

PragmaticBookshelf
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic.

Sam Ruby @rubys

with Dave Thomas @pragdave

edited by Adaobi Obi Tulton @aotulton

The eighth major release of Rails focuses on the ability to produce production-ready applications. It achieves this while building upon and retaining the ability to produce fantastic user experiences, and achieves all the benefits of single-page applications at a fraction of the complexity. Rails 8 introduces Kamal 2, Thruster, new database adapters, replaces the asset pipeline, and adds a new authentication generator. The result is a toolkit so powerful that it allows a single individual to create modern applications upon which they can build a competitive business—the way it used to be.

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 8 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. We look in depth 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 JavaScript, send and receive emails, manage background jobs with ActiveJob, and 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.

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.


Sam Ruby is a Rails Specialist at Fly.io, and previously was President of the
Apache Software Foundation, co-chaired the W3C HTML Working Group, and has made significant contributions to many open source projects and standards.

Dave Thomas, as one of the authors of the Agile Manifesto, understands agility. As the author of Programming Ruby, he understands Ruby. And, as an active Rails developer, he knows Rails.


6 158 6

Latest Threads About This Book Top

bunnahabhain
class Order < ActiveRecord::Base … “This Order class is defined to be a subclass of the ApplicationRecord class.” Should the class ...
0 12 1
New
jamo
Title: Agile Web Dev with Rails 8 (pg 93) In product_test.rb: product.image.attach(io: File.open("test/fixtures/files/logo.svg"), **fil...
2 21 1
New
jamo
The following code on page 83 does not work for me (i.e. the product listing does not refresh without a page reload). rails80/depot_a/ap...
0 19 1
New
msducheminjr
The B4 version still has a paragraph about the Ruby 3.3.4 work-around and using sed in the Dockerfile. It’s no longer needed because it’s...
0 13 1
New
Cellane
Hello, I was struggling a bit with completing chapter 11, iteration F4. While the changes done in the “admin” (maintenance?) panel to st...
1 35 2
New
msducheminjr
Paragraph on p 265, you no longer navigate to http://localhost:3000/admin to login. It’s now http://localhost:3000/session/new (or just t...
0 21 1
New
msducheminjr
The creation of the products scaffold in Task A requires ActiveStorage and newly created Rails 8 apps provide the configuration needed by...
0 16 1
New
msducheminjr
The current third playtime bullet for Task J I18n is no longer relevant: Translate the Order::PAYMENT_TYPES shown in the drop-down. You...
0 10 1
New
msducheminjr
When you generate a new Rails, app, there is no version constraint on tailwindcss-rails in the Gemfile. The gem released version 4.0.x on...
2 84 2
New
tdworz
Page 70 contains, "Since we are defined . . . " which should probably be either “Since we have defined . . .” or “Since we are defining ....
0 12 1
New

Most Active This Week Top

PragmaticBookshelf
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic. Sam Ruby @rubys ...
6 159 6
New

Most Active This Month Top

Cellane
Hello, I was struggling a bit with completing chapter 11, iteration F4. While the changes done in the “admin” (maintenance?) panel to st...
1 35 2
New
msducheminjr
Paragraph on p 265, you no longer navigate to http://localhost:3000/admin to login. It’s now http://localhost:3000/session/new (or just t...
0 21 1
New
bunnahabhain
class Order < ActiveRecord::Base … “This Order class is defined to be a subclass of the ApplicationRecord class.” Should the class ...
0 12 1
New
msducheminjr
The B4 version still has a paragraph about the Ruby 3.3.4 work-around and using sed in the Dockerfile. It’s no longer needed because it’s...
0 13 1
New
jamo
The following code on page 83 does not work for me (i.e. the product listing does not refresh without a page reload). rails80/depot_a/ap...
0 19 1
New
jamo
Title: Agile Web Dev with Rails 8 (pg 93) In product_test.rb: product.image.attach(io: File.open("test/fixtures/files/logo.svg"), **fil...
2 21 1
New

Most Active This Year Top

pillaiindu
Hi everyone! Is there a way to get a free copy of Agile Web Development with Rails 8? Is it possible that I proof-read the book, or some...
3 104 2
New
bjpcjp
Just finished installing ruby 3.3.6 and rails 8.0.0 on ubuntu 24.04 LTS. ‘rails new demo’ seems to be building correctly but is throwin...
0 103 3
New
msducheminjr
When you generate a new Rails, app, there is no version constraint on tailwindcss-rails in the Gemfile. The gem released version 4.0.x on...
2 84 2
New
fishburn
I’m just curious: in the preface, it says, “The biggest non-deployment related change is the introduction of a basic authentication gener...
2 41 7
New
randyL78
Title: Agile Web Development with Rails 8: page 128 (epub) On a fresh install, the foreman gem needs to be installed before running bin/...
0 24 2
New
seanplynch
Title: Agile Web Development with Rails 8 B3.0:: Typo when creating array (51) Edition B3.0 On page 51 there is a typo in an example fo...
2 21 1
New
msducheminjr
It looks like the Atom feed section of the book was intended to be removed for this edition, but there are still references to it, as wel...
1 17 1
New
jefff
The footnoted link is giving me a 404 It’s listed as https://media.pragprog.com/titles/rails80/code/rails80/depot_a/db/seeds.rb
0 17 1
New
msducheminjr
Agile Web Development with Rails 8 Beta 3: Rails 8 uses params.expect instead of params.require(...).permit(...) by default in the genera...
0 17 1
New
msducheminjr
The creation of the products scaffold in Task A requires ActiveStorage and newly created Rails 8 apps provide the configuration needed by...
0 16 1
New
joelrealubit
“demo> bin/rails about” works on Windows 11 Git Bash shell, no need for “ruby bin/rails about”. Although on Powershell, “ruby bin/rail...
0 21 1
New
eimantas
In a test "image url" there are a couple of product creations and assertions of validity. However text afterwards states that: Rather t...
0 22 1
New
msducheminjr
For Iteration J1 Selecting the locale, there is some discontinuity between the code and the text. The products resource has a get :who_...
0 16 1
New
msducheminjr
The section that instructs users to change the using: :chrome to using: :headless_chrome at the top of page 189 is no longer needed. rail...
0 15 1
New
msducheminjr
This is just an update that needs to be made to the text. In previous versions of the book, you start off with no endpoints of the app re...
0 14 1
New

Most Active Last Three Years Top

New
ziyunli
% rbenv install 3.3.5 ==> Installing ruby-3.3.5... -> ./configure "--prefix=$HOME/.rbenv/versions/3.3.5" --enable-...
0 15 1
New
bunnahabhain
“created include title, description, image_url, and price, as well as a few timestamps” There is no image_url defined in the migration o...
0 17 1
New
msducheminjr
The form_with helper for orders/_form.html.erb needs to have a url: parameter with the current locale or else the form will be submitted ...
0 13 1
New
seanplynch
Title: Agile Web Development with Raiis 8 : Typo in Linux install rails gem. Chapter 1 Installing Rails (page number 12 ) The command t...
0 17 1
New
dialogbox
The last code sample says it’s rails80/depot_g/test/controllers/line_items_controller_test.rb I believe this must be depot_f not depot_...
0 11 1
New
jasonnoble
Title: Agile Web Development with Rails 8 (page xiv) The link for the Rails Doctrine is incorrect (404). Ruby on Rails — The Rails Doctr...
0 12 1
New
msducheminjr
Iteration I2: Administrative Pages. The h1 tag for the admin#index view has contradictory text size classes text-lg and text-4xl. The ima...
0 11 1
New
msducheminjr
The current third playtime bullet for Task J I18n is no longer relevant: Translate the Order::PAYMENT_TYPES shown in the drop-down. You...
0 10 1
New
msducheminjr
The final screenshot in Iteration J2 after adding the number formatting for the es locale still has the en number formatting. Screens...
0 13 1
New
tdworz
Page 70 contains, "Since we are defined . . . " which should probably be either “Since we have defined . . .” or “Since we are defining ....
0 12 1
New

Most Active Over Three Years Top

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.