Active Threads This:
Most Active This Week
Most Active This Month
Most Active This Year
@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
@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
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
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
@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
@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
@rubys
The command that generates the scaffold for Product shows views under “erb”, should be “tailwindcss”:
depot [main] % bin/rails g...
New
@rubys
Right after the depot application is generated, there is a ls -p command.
This listing is missing Procfile.dev, which is install...
New
@rubys
Check
Most of the rest of the changes are self-explanatory, with names like text-xl, bg-blue-600, and hover:underline.
In the...
New
@rubys
The following screenshot shows what happens if we try to submit a new product with none of the fields filled in. Try it by visit...
New
@rubys
This section discusses adding an else clause to the code but the snippet shown is duplicate code already added in the previous se...
New
@rubys
Typo (and instead of an): “Note that the first and last lines of this loop use <% without and equal sign.”
New
Most Active Last 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
@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
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
Pequeña errata:
En el penúltimo párrafo:
…in your controlller or…
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
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
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
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
When you generate the application, because you have added TailwindCSS you’ll get problems since this isn’t installed locally.
You appare...
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
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
Most Active Over Three Years
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
The code for rails7/depot_o/app/controllers/orders_controller.rb is:
class OrdersController < ApplicationController
include Curre...
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
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
“controlller” should be “controller”
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
Hello,
“The next three lines verify that all of our products are displayed. The first verifies that there are three li elements inside a...
New
Volvemos a la carga!!!
Creo que la imagen que se muestra no es correcta.
A mí me aparece esta:
New
The last sentence on pg 118 should say “button class”, not “butoon class”
New
@rubys
This may or may not be Errata but we have in one place
validates :image_url, allow_blank: true
and above that we have
validat...
New
The book does not indicate to add the price to the fixture, so this is entirely my mistake. But the reader, which has to keep up with a l...
New
The text says:
We define a class named CreateProducts, which inherits from the versioned Migration class from the ActiveRecord module, ...
New
In the 2nd last paragraph it reads:
The is a big clue that we want to create a partial so that template can be reused in two places.
...
New
Some text is duplicated (and seems to contain a typo). The text
We know will want the item we are replacing to be formatted exactly the...
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.