Active Threads This:
Latest Threads About This Book
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
@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
@rubys
A few issues I noticed while working on the support requests page:
A <blockquote> cannot be in a <p>. A <blockq...
New
Most Active This Week
Most Active This Month
Most Active This Year
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
@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
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
@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
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
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
The command that generates the scaffold for Product shows views under “erb”, should be “tailwindcss”:
depot [main] % bin/rails g...
New
@rubys
There are several occurrences of “HotW” with a capital “W”. The framework is called Hotwire.
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
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
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
Most Active Last 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
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
On page 78 the following code appears:
<%= link_to ‘Destroy’, product,
class: ‘hover:underline’,
method: :delete,
data: { confirm...
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
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
Since rails help new states
> rails help new
Usage:
rails new APP_PATH [options]
Options:
[--skip-namespace], [--no-skip-nam...
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
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
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
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
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
Most Active Over Three Years
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
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
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
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
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
AWDWR Rails 7 b1 0 pdf page 175 Iteration G2 section doe not read very well, removing the word while would help so
We need a dynamic for...
New
Buenas Sam, ¿Qué tal?
Las direcciones de descarga del seed.rb y de las imágenes hacen referencia al libro de Rails 6.
Esta dirección:
...
New
When you generate the application, because you have added TailwindCSS you’ll get problems since this isn’t installed locally.
You appare...
New
In section ‘The Desktop’, you describe various windows that are convenient to have open, while developing.
Using less -F allows searchin...
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
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.