
albertchae
Modern Front-End Development for Rails, Second Edition: some typos in chapters 1-3
Title: Modern Front-End Development for Rails, Second Edition P1.0
Hi @noelrappin , I am enjoying the book so far but just saw a few issues and typos I wanted to report
Chapter 1, Page 18 says:
Right now we need to update our dev scripts to use tsc-watch
The text leading up to this was all referring to tsconfig.json
, so it’s not immediately clear that the dev scripts are in package.json
Chapter 2, Page 33 says:
… the recommendation is to use
button_to
rather thanklink_to
, …
s/thank/than
Chapter 3, Page 58 says:
> fav = fav = document.querySelector...
The extra fav =
seems unnecessary and this could be fav = document.querySelector...
> fav.dataset.favoriteToggleVisibleValue = "false"
"False"
After running fav.dataset.favoriteToggleVisibleValue = "false"
in console for both Firefox and Chrome, I see "false"
with lower case f as the output
Most Liked

noelrappin
Thanks for the notes, they will be fixed if and when we do a new printing
Popular Prag Prog topics








Modern Front-End Development for Rails - application does not start after run bin/setup (page xviii)


Other popular topics










Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /js
- /rails
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /opensuse
- /centos
- /ash
- /php
- /deepseek
- /scala
- /zig
- /html
- /debian
- /nixos
- /lisp
- /agda
- /sublime-text
- /textmate
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /manjaro
- /django
- /spring
- /diversity
- /nodejs
- /lua
- /slackware
- /julia
- /c
- /neovim