Agile Web Development with Rails 8 (Pragmatic Bookshelf)
Latest Threads About This Book

In DHH’s foreward, near the bottom of the first page, is this text:
Think of all the incredible applications that run the internet with...
New

The User requires a valid email, such as:
User.create! email_address: "dave@example.org", name: "dave", password: Rails.application.cred...
New

I think there is a duplicate piece of code on page 267.
<%= form_with(model: support_request, local: true, class: "depot_from") do |f...
New

Page 254 shows an example of a log that is obtained following the sending of an e-mail.
However, the first string START SupportMailbox#p...
New

Page 238 is missing the translation of the pay_type label.
The correct code is:
<%= form.label :pay_type, t(".pay_type") %>
New

Page 229 gives the example that if the Spanish language (es) is requested, you should get an error such as “es translation not available”...
New

After deletion of the user, the user is recreated from the console. However, the email address is missing.
User.create(name: "dave", pas...
New

Typo in this phrase:
" We want to people without an administrative login to be able to purchase our products."
New

On page 211 we add the login function to the tests; however, if we do not add the name field to the users.yml fixture, the tests systemat...
New

In the “shipped” test, particularly in the last assertion, if I use mail.body.to_s I get the following error:
Minitest::Assertion: Expec...
New

Title: Agile Web Development with Rails 8 (page 9)
Suggestion: Add watchman to the list of packages to install
In Chapter 6 page 71 whe...
New

Page 151 explains how turbo stream works. The explanation says that the partial parameter refers to the file app/views/application/_cart....
New

A new_product method is defined and never used. Also, the image_url parameter is never used:
def new_product(image_url)
Product.new(ti...
New

On page 93, reference is made to the file lorem.jpg, which should be located in the test/fixtures/files folder; however, the file is not ...
New

There is a spelling mistake on page 90:
but is is possible
p.s. this is the first time I’m reporting a problem, if I made any mistakes ...
New

The file: app/views/line_items/_line_item.html.erb was created in iteration D2, when we ran the generator: bin/rails generate scaffold L...
New

Minor nit, but there is a missing line feed in the development.log, making it harder to comprehend.
Current:
Attempt to access invalid ...
New

Code shows:
@line_item = @cart.line_items.build(product: product)
This produces an error of " * Product must exist" when you press the ...
New

Agile Web Development with Rails 8_B6.0 “headless_chrome” related (page 189)
In “headless_chrome” the browser does not launch, since it...
New

class Order < ActiveRecord::Base
…
“This Order class is defined to be a subclass of the ApplicationRecord class.”
Should the class ...
New

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...
New

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...
New

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...
New

Hello, I was struggling a bit with completing chapter 11, iteration F4.
While the changes done in the “admin” (maintenance?) panel to st...
New

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...
New

The creation of the products scaffold in Task A requires ActiveStorage and newly created Rails 8 apps provide the configuration needed by...
New

The current third playtime bullet for Task J I18n is no longer relevant:
Translate the Order::PAYMENT_TYPES shown in the drop-down. You...
New

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...
New

Page 70 contains, "Since we are defined . . . " which should probably be either “Since we have defined . . .” or “Since we are defining ....
New

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 ...
New
Most Active This Week

Page 151 explains how turbo stream works. The explanation says that the partial parameter refers to the file app/views/application/_cart....
New

Title: Agile Web Development with Rails 8 (page 9)
Suggestion: Add watchman to the list of packages to install
In Chapter 6 page 71 whe...
New

A new_product method is defined and never used. Also, the image_url parameter is never used:
def new_product(image_url)
Product.new(ti...
New

The User requires a valid email, such as:
User.create! email_address: "dave@example.org", name: "dave", password: Rails.application.cred...
New

On page 93, reference is made to the file lorem.jpg, which should be located in the test/fixtures/files folder; however, the file is not ...
New

I think there is a duplicate piece of code on page 267.
<%= form_with(model: support_request, local: true, class: "depot_from") do |f...
New

There is a spelling mistake on page 90:
but is is possible
p.s. this is the first time I’m reporting a problem, if I made any mistakes ...
New

Typo in this phrase:
" We want to people without an administrative login to be able to purchase our products."
New

Page 238 is missing the translation of the pay_type label.
The correct code is:
<%= form.label :pay_type, t(".pay_type") %>
New

In the “shipped” test, particularly in the last assertion, if I use mail.body.to_s I get the following error:
Minitest::Assertion: Expec...
New
Most Active This Month

On page 211 we add the login function to the tests; however, if we do not add the name field to the users.yml fixture, the tests systemat...
New

In DHH’s foreward, near the bottom of the first page, is this text:
Think of all the incredible applications that run the internet with...
New

After deletion of the user, the user is recreated from the console. However, the email address is missing.
User.create(name: "dave", pas...
New

Page 229 gives the example that if the Spanish language (es) is requested, you should get an error such as “es translation not available”...
New

Page 254 shows an example of a log that is obtained following the sending of an e-mail.
However, the first string START SupportMailbox#p...
New
Most Active This Year

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

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...
New

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...
New

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...
New

I’m just curious: in the preface, it says, “The biggest non-deployment related change is the introduction of a basic authentication gener...
New

Hello, I was struggling a bit with completing chapter 11, iteration F4.
While the changes done in the “admin” (maintenance?) panel to st...
New

Code shows:
@line_item = @cart.line_items.build(product: product)
This produces an error of " * Product must exist" when you press the ...
New

Title: Agile Web Development with Rails 8: page 128 (epub)
On a fresh install, the foreman gem needs to be installed before running bin/...
New

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...
New

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...
New

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...
New

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
New

For Iteration J1 Selecting the locale, there is some discontinuity between the code and the text.
The products resource has a get :who_...
New

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...
New

The creation of the products scaffold in Task A requires ActiveStorage and newly created Rails 8 apps provide the configuration needed by...
New
Most Active Last Three Years

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...
New

Agile Web Development with Rails 8 Beta 3: Rails 8 uses params.expect instead of params.require(...).permit(...) by default in the genera...
New

In a test "image url" there are a couple of product creations and assertions of validity. However text afterwards states that:
Rather t...
New

“demo> bin/rails about” works on Windows 11 Git Bash shell, no need for “ruby bin/rails about”. Although on Powershell, “ruby bin/rail...
New

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...
New

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 ...
New

% rbenv install 3.3.5
==> Installing ruby-3.3.5...
-> ./configure "--prefix=$HOME/.rbenv/versions/3.3.5" --enable-...
New

class Order < ActiveRecord::Base
…
“This Order class is defined to be a subclass of the ApplicationRecord class.”
Should the class ...
New

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...
New

Title: Agile Web Development with Raiis 8 : Typo in Linux install rails gem. Chapter 1 Installing Rails (page number 12 )
The command t...
New

“created include title, description, image_url, and price, as well as a few timestamps”
There is no image_url defined in the migration o...
New

In “ A perenniel theme of Rails is compressing complexity,” I think perenniel should be perennial.
New

Title: Agile Web Development with Rails 8 (page xiv)
The link for the Rails Doctrine is incorrect (404). Ruby on Rails — The Rails Doctr...
New

Agile Web Development with Rails 8_B6.0 “headless_chrome” related (page 189)
In “headless_chrome” the browser does not launch, since it...
New

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_...
New
Most Active Over Three Years

The file: app/views/line_items/_line_item.html.erb was created in iteration D2, when we ran the generator: bin/rails generate scaffold L...
New

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...
New

The current third playtime bullet for Task J I18n is no longer relevant:
Translate the Order::PAYMENT_TYPES shown in the drop-down. You...
New

Page 70 contains, "Since we are defined . . . " which should probably be either “Since we have defined . . .” or “Since we are defining ....
New

Iteration I2: Administrative Pages. The h1 tag for the admin#index view has contradictory text size classes text-lg and text-4xl. The ima...
New

The final screenshot in Iteration J2 after adding the number formatting for the es locale still has the en number formatting.
Screens...
New

Minor nit, but there is a missing line feed in the development.log, making it harder to comprehend.
Current:
Attempt to access invalid ...
New
Publisher:
Pragmatic Bookshelf
Latest in Agile Web Development with Rails 8
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!