Active Threads:
Most Active This Week
Most Active This Month
@rubys
In : rails7/depot_t/app/views/carts/_cart.html.erb
The button to empty cart is not using the locale and switches back to default...
New
@rubys
Chapter 15. Task J: Internationalization • p232
Missing locale: “I18n.locale” cause the cart to switch languages.
Change from
...
New
@rubys
The SupportRequestMailer should not be referenced in the sample support_requests_controller.rb on pg. 264. This line gets added l...
New
When internationalizing the payment type forms, the labels should keep the object name so that the “for” attribute is set correctly on th...
New
@rubys
On Page 257, we create two new order fixtures “another_one” and “other_customer”. The text states “We have one we can use already...
New
I found that <li><%= button_to 'Logout', logout_path, method: :delete %></li> was calling the non-existent get ...
New
@rubys
A few issues I noticed while working on the support requests page:
A <blockquote> cannot be in a <p>. A <blockq...
New
The classes "payment-field" should be "input-field" for the name and password inputs.
New
On Page 252, in the following sentence:
Fill this in, remembering to use support@example.com as the From email so that the email gets r...
New
Most Active This Year
@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
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
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
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
There are several occurrences of “HotW” with a capital “W”. The framework is called Hotwire.
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
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
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
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
Two comments here:
It turns out that the Rails dispatcher is pretty clever. In development mode (as opposed to testing or produ...
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
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
Refers to previous book title (AWDwR 6) halfway down page under the heading ‘Rails is Agile’.
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
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
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
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 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
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
When you generate the application, because you have added TailwindCSS you’ll get problems since this isn’t installed locally.
You appare...
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
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.