msducheminjr
Agile Web Development with Rails 8: Iteration K3 various issues (B3 PDF p. 265-271)
- Paragraph on p 265, you no longer navigate to 
http://localhost:3000/adminto login. It’s nowhttp://localhost:3000/session/new(or just try to access the support requests resource and you’ll be redirected there after login) - The screenshot at the top of page 266 shows the login prompt instead of the support requests.
 - If you try to access the support requests before you set up 
ActionText, you’ll get aNoMethodErroron the template. - The code snippet on pages 264-265 shouldn’t have the conditional about 
<% if support_request.response.blank? %>yet if the intent is to show the index before the rich text is implemented - You need to run a 
bundle installafterbin/rails action_text:installand beforebin/rails db:migratebecause the ActionText install adds in theimage_processinggem. - When the 
<% if support_request.response.blank? %>section is added on pages 267-269, it is duplicated (because it was already there in error in the previous snippet). - Update controller method doesn’t use the new 
params.expectconvention. It will also respond irrespective of whether theSupportRequestsuccessfully updates or not. - The 
rich_text_areaoccurrences in iteration K3 and the reference in the index at the back of the book should be updated torich_textareato match current Rails convention and guides. - There is a snippet to add 
SupportRequestMailer.respond(support_request).deliver_nowto the update method on page 271, but it was already present (in error) on page 269. - This is probably more of an iteration K2 issue, but the inverse relationship to 
SupportRequeston theOrdermodel (has_many :support_requests, dependent: :nullify) never gets created. I discovered it when I created aSupportRequestfixture that had an order and my other tests started failing. 
Marked As Solved
rubys
									Author of Agile Web Development With Rails
			          
						Very thorough! Thanks!
Popular Pragmatic Bookshelf topics
                        
                      
                      
                As per the title, thanks.
              
            
            
          
              New
                Title: Web Development with Clojure, Third Edition, pg 116 
Hi - I just started chapter 5 and I am stuck on page 116 while trying to star...
              
            
            
          
              New
                The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
              
            
            
          
              New
                Title: Intuitive Python: docker run… denied error (page 2) 
Attempted to run the docker command in both CLI and Powershell 
PS C:\Users\r...
              
            
            
          
              New
                Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
              
            
            
          
              New
                I found an issue in Chapter 7 regarding android:backgroundTint vs app:backgroundTint. 
How to replicate: 
load chapter-7 from zipfile i...
              
            
            
          
              New
                Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on  (page 64) 
If you follow the defau...
              
            
            
          
              New
                The allprojects block listed on page 245 produces the following error when syncing gradle: 
“org.gradle.api.GradleScriptException: A prob...
              
            
            
          
              New
                When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
              
            
            
          
              New
                From page 13: 
On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv  using Visual Studio ...
              
            
            
          
              New
Other popular topics
                        
                      
                      
                Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
              
            
            
          
              New
                Biggest jackpot ever apparently! :upside_down_face: 
I don’t (usually) gamble/play the lottery, but working on a program to predict the...
              
            
            
          
              New
                Hi folks, 
I don’t know if I saw this here but, here’s a new programming language, called Roc 
Reminds me a bit of Elm and thus Haskell. ...
              
            
            
          
              New
                Author Spotlight 
Jamis Buck 
@jamis 
This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
              
            
            
          
              New
                Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
              
            
            
          
              New
                Author Spotlight: 
VM Brasseur 
@vmbrasseur 
We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
              
            
            
          
              New
                I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
              
            
            
          
              New
                zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. 
General-purpose programming language and toolchain for maintaini...
              
            
            
              
          
              New
                Big O Notation can make your code faster by orders of magnitude. Get the hands-on info you need to master data structures and algorithms ...
              
            
            
              
          
              New
                This is cool! 
DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON
We just witnessed something incredible: the largest open-s...
              
            
            
          
              New
Categories:
Sub Categories:
Popular Portals
- /elixir
 - /rust
 - /ruby
 - /wasm
 - /erlang
 - /phoenix
 - /keyboards
 - /python
 - /rails
 - /js
 - /security
 - /go
 - /swift
 - /vim
 - /clojure
 - /emacs
 - /haskell
 - /java
 - /svelte
 - /onivim
 - /typescript
 - /kotlin
 - /c-plus-plus
 - /crystal
 - /tailwind
 - /react
 - /gleam
 - /ocaml
 - /elm
 - /flutter
 - /vscode
 - /ash
 - /html
 - /opensuse
 - /centos
 - /php
 - /zig
 - /deepseek
 - /scala
 - /lisp
 - /sublime-text
 - /textmate
 - /react-native
 - /nixos
 - /debian
 - /agda
 - /kubuntu
 - /arch-linux
 - /django
 - /deno
 - /ubuntu
 - /revery
 - /manjaro
 - /nodejs
 - /spring
 - /diversity
 - /lua
 - /julia
 - /slackware
 - /c
 
    





