Agile Web Development with Rails 7 (Pragmatic Bookshelf)
Hot This:
Latest Threads About This Book

Hello,
While trying to use the login authentication feature implemented on page 211 (iteration I2), I noticed that the flash notice we a...
New

Hi everyone,
Does anyone know when will “Agile Web Development in Rails 8” by Pragmatic Bookshelf release. I’m eager to dive into the la...
New

Agile Web Development with Rails 7 (end of chapter 11): Are there answers to the Playtime exercises?
@rubys
Answer to first exercise "Can you change the application to remove it…”
New

@rubys
Apologies, I should have turned the page before reporting the typo on page 327. It’s repeated on the first line of page 328. It s...
New

@rubys
In the section “Participating in the monitoring process” then second paragraph states that there are sixteen callbacks, fourteen ...
New

@rubys
The “Configuration” section includes the statement “We modified our database configuration to use MySQL in production”. It should...
New

@rubys
Beneath the ‘Controller’ heading the book states… “we created eight controllers: one each for the six models and the three additi...
New

@rubys
The code file /rails7/depot_tb/config/routes.rb has comments around the newly added resources :support_requests, only: %i[ index ...
New

On the last line it says that the template files are created in /app/views/order. The correct directory is /app/views/order_mailer
Cheer...
New

@rubys
The command to look around the docker image is provided (on pg. 275) before the instruction to install Docker (on pg. 277). Perha...
New
Most Active This Week
Most Active This Month
Most Active This Year

@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

@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
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
Created the demo app with the following command from page 102:
work> rails new demo
Examined the installation wi...
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
Most Active Last Three Years

I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113.
Iteration A1 - Seeing the list of prod...
New

Title: Agile Web Development with Rails 7: (page 70)
I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New

AWDWR 7, page 152, page 153:
Hello everyone,
I’m a little bit lost on the hotwire part. I didn’t fully understand it.
On page 152 @rub...
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

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

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

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

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

The add_product method assumes that the default value for the quantity attribute is 0 when it is nil.
I think the code example for add_p...
New

@rubys
On Chapter 1, Installing rails, you suggest a list of text editors.
Atom is the 2nd suggestion, but on atom.io it already states...
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

@rubys
Title: Name of book: Agile Web Development with Rails 7: (21)
The rails new command will run bundler, and the error with bundler...
New

I think a hint about being extra careful when using has_no_field may be useful.
I’ve seen projects where this particular check passed, w...
New
Most Active Over Three Years

Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New

Hi all,
currently I wonder how the Tailwind colours work (or don’t work).
For example, in app/views/layouts/application.html.erb I have...
New

On page 78 the following code appears:
<%= link_to ‘Destroy’, product,
class: ‘hover:underline’,
method: :delete,
data: { confirm...
New

Title: AWDWR 7 (page 118)
You are styling the add to cart button inline in the actual HTML rather than the stylesheet as per previous ve...
New

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

On (PDF) p. 68 the command to create the depot app is given as:
rails new depot --css tailwind
When I run this, I get an exception li...
New

Since rails help new states
> rails help new
Usage:
rails new APP_PATH [options]
Options:
[--skip-namespace], [--no-skip-nam...
New

Hello everyone,
I am relatively new to rails. I am reading AWDWR 7.
I am at page 120, I have some questions and having some problems.
...
New

The book states (in the section ‘Editors’, p 14):
a newly created Rails application enters the world containing forty-six files spread...
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

Hi all,
the code on page 117 to get the of create a cart object is:
def set_cart
@cart = Cart.find(session[:cart_id])
rescue ActiveRe...
New

Refers to previous book title (AWDwR 6) halfway down page under the heading ‘Rails is Agile’.
New
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.