Agile Web Development with Rails 7 (Pragmatic Bookshelf)

PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single-page applications—at a fraction of the complexity. Get the comprehensive, insider information you need for Rails 7 with the new edition of this award-winning classic.

Sam Ruby @rubys

with Dave Thomas @pragdave

edited by Adaobi Obi Tulton @aotulton

Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly—you concentrate on creating the application, and Rails takes care of the details. Rails 7 brings many improvements, and this edition is updated to cover the new features and changes in best practices.

We start with a step-by-step walkthrough of building a real application, and in-depth chapters look at the built-in Rails features. Follow along with an extended tutorial as you write a web-based store application. Eliminate tedious configuration and housekeeping, seamlessly incorporate JavaScript, send and receive emails, manage background jobs with ActiveJob, and build real-time features using WebSockets and ActionCable. Test your applications as you write them using the built-in unit, integration, and system testing frameworks, internationalize your applications, and deploy your applications easily and securely.

Rails 1.0 was released in December 2005. This book was there from the start, and didn’t just evolve alongside Rails, it evolved with Rails. It has been developed in consultation with the Rails core team. In fact, Rails itself is tested against the code in this book.


Sam Ruby is a member of the Board of Directors of the Apache Software Foundation, previously co-chaired the W3C HTML Working Group, and has made significant contributions to many open source projects and standards.

Dave Thomas, as one of the authors of the Agile Manifesto, understands agility. As the author of Programming Ruby, he understands Ruby. And, as an active Rails developer, he knows Rails.


*Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

Latest Threads About This Book Top

acortes8
Hello, While trying to use the login authentication feature implemented on page 211 (iteration I2), I noticed that the flash notice we a...
New
pillaiindu
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
New
marky1124
@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
marky1124
@rubys In the section “Participating in the monitoring process” then second paragraph states that there are sixteen callbacks, fourteen ...
New
marky1124
@rubys The “Configuration” section includes the statement “We modified our database configuration to use MySQL in production”. It should...
New
marky1124
@rubys Beneath the ‘Controller’ heading the book states… “we created eight controllers: one each for the six models and the three additi...
New
marky1124
@rubys The code file /rails7/depot_tb/config/routes.rb has comments around the newly added resources :support_requests, only: %i[ index ...
New
marky1124
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
alexisszabo
@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 Top

Most Active This Month Top

Most Active This Year Top

scotdb01
@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
Andrei
@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
erikphansen
@rubys Title: Agile Web Development with Rails 7: p286 typos From the “Views” section of Chapter 18. The errors or awkwardness is bolde...
New
fxn
@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
shusseina
@rubys Created the demo app with the following command from page 102: work>​​ ​​rails​​ ​​new​​ ​​demo​ Examined the installation wi...
New
jamesw
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
tsmith-dev
@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
ThomasNathan
@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
fxn
@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
New
fxn
@rubys The command that generates the scaffold for Product shows views under “erb”, should be “tailwindcss”: depot [main] % bin/rails g...
New
fxn
@rubys Right after the depot application is generated, there is a ls -p command. This listing is missing Procfile.dev, which is install...
New
fxn
@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
felipem
@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
pillaiindu
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

Most Active Last Three Years Top

AufHe
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
EdBorn
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
mert
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
jefff
@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
erikphansen
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
Randy
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
KarmicMishap
@rubys Agile Web Development With Rails 7: Can’t get Cart model to disappear quietly (page 163) Hi all, I’m trying to do the exercise ...
New
ziyunli
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
scotdb01
When you generate the application, because you have added TailwindCSS you’ll get problems since this isn’t installed locally. You appare...
New
briancolfer
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
erwin
@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
joelesli
:turbo_stream is missing the ‘m’ in the sentence below. We used as: :turbo_strea to indicate to the LineItemsController.create() that T...
New
s2k
The code for rails7/depot_o/app/controllers/orders_controller.rb is: class OrdersController < ApplicationController include Curre...
New
wmcraver
@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
New

Most Active Over Three Years Top

PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
s2k
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
hazardco
On page 78 the following code appears: <%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
jamesw
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
jamesw
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
s2k
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
s2k
Since rails help new states > rails help new Usage: rails new APP_PATH [options] Options: [--skip-namespace], [--no-skip-nam...
New
mert
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
s2k
The book states (in the section ‘Editors’, p 14): a newly created Rails application enters the world containing forty-six files spread...
New
seanplynch
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
s2k
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
New
jamesw
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
s2k
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
MyrddinE
Refers to previous book title (AWDwR 6) halfway down page under the heading ‘Rails is Agile’.
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.