Agile Web Development with Rails 7 (Pragmatic Bookshelf)
Most Active This Week
Most Active This Month
Most Active This Year

Steps to Reproduce:
Follow tutorial for depot app up to page 73.
Run the following as instructed:
bin/dev
Expected Result:
Server s...
New
Most Active Last Three Years

@rubys
I’ve been struggling to get the active_job to work and after hitting a wall I resorted to using the book’s latest source code and...
New

@rubys
Following through the book but using Rails 7.1.2.
When trying to run the test on page 118 I get -
`
Error:
ProductsControllerT...
New

@rubys
On the page 181 it’s said:
We also don’t have time to build a full-fledged admin user interface right now, so we’ll take advant...
New

If you’d like an easier way of dealing with uploading and storing images, take
a look at thoughtbot’s Paperclip or Rick Olson’s attachme...
New

@rubys
This paragraph:
As you can see from the bin/ prefix, this is running the rails command from the bin directory. This command is ...
New

@rubys
Title: Agile Web Development with Rails 7: p286 typos
From the “Views” section of Chapter 18. The errors or awkwardness is bolde...
New

@rubys
Near the bottom third of page 157, the test says “We already have a should create line_item test, so let’s add another one called...
New

On page 212 of the PDF you use a form_tag for the session login form. According to the Rails 7 documentation form_for and form_with have ...
New

As is:
We could fix these errors, but the result would be [that we??] end up with tests that largely duplicate tests we already have.
New

@rubys
The text reads “It’s pretty impressive: the fields with errors are highlighted, and the errors are summarized in a nice list at th...
New

Hi
Had a spot of bother installing Ruby 3.1.2 on the Ubuntu vm.
I couldn’t get the brightbox repository to work. Then it says to run s...
New

@rubys
The command that generates the scaffold for Product shows views under “erb”, should be “tailwindcss”:
depot [main] % bin/rails g...
New

@rubys
Title: Agile Web Development with Rails 7: typo (page 185)
rm test/system/product_test.rb
I believe this should be:
rm test/sy...
New

@rubys
The example at the bottom of page 41 illustrates stand-alone usage of Active Record. It requires active_record, and It omits stuf...
New

@rubys
There are several occurrences of “HotW” with a capital “W”. The framework is called Hotwire.
New
Most Active Over Three Years

Title: AWDWR Rails 7 b1 0 pdf: In the latest (First?) pdf a minor typo on page 175 in the Iteration G2 section Rails includes another fra...
New

The curl command listed at the top of page 12 is:
$ curl -sL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | b...
New

Hi,
the section ‘Choosing a Rails Version’ has the code
$ gem list --local rails
and then mentions:
It should return 6.0.1
Shortly...
New

Title: AWDWR Rails 7 b1 0 pdf: In the latest (First?) pdf a minor typo on page 160 in the What We just did section, the 2nd bullet point ...
New

Pequeña errata:
En el penúltimo párrafo:
…in your controlller or…
New

I’m working with Version B2.0 of the epub. After making the changes in Iteration F4, the app crashes and the console shows errors related...
New

Refers to previous book title (AWDwR 6) halfway down page under the heading ‘Rails is Agile’.
New

The rows in the listing have alternating background colors. The Rails helper method called does this by setting the CSS class of each row...
New

En el segundo párrafo pone:
The argument, module: order, tells the helper which instance
y debería poner:
The argument, model: orde...
New

When you generate the application, because you have added TailwindCSS you’ll get problems since this isn’t installed locally.
You appare...
New

The text is:
Note the use of the sanitize() method for the description. This allows us to safely1 add HTML stylings to make the descri...
New

Title: AWDWR Rails 7 b1 0 pdf:
typos and suggestions for pages 167, 168 and 180
Page 167 a typo near the top of the page references sou...
New

The last sentence of the page is (word with typo in italics):
This is no problem as Rails lets you specify both the form_class as well ...
New

En el código de la página 171 pone:
def total_price
price * quantity
end
Creo que falta product en la función total_price:
def tot...
New

:turbo_stream is missing the ‘m’ in the sentence below.
We used as: :turbo_strea to indicate to the LineItemsController.create() that T...
New
Publisher:
Pragmatic Bookshelf
Latest in Agile Web Development with Rails 7
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!