DcsMarionDickten

DcsMarionDickten

Agile Web Development with Rails 8: Post a corrected version that works, please (errors start from p.9)

I’m a seasoned Rails programmer trying to get up to date with the newest releases. Right from the beginning of the book there were so many things that did not work that I really cannot recommend the book for any beginner in Rails. It actually started with `gem install rails -v 8.0.2 –no-document`. If you have any older Rails versions already installed using the same Ruby version this is going to cause conflicts. Solution: Make it clear to the reader that they should install a version of Ruby they do not already have installed, use rvm or any other Ruby version management tool to make sure this Ruby version is used, and install Rails 8 using it.

It goes on on page 66. `rails new depot -css tailwind` does not work. During installment a task `css:install:css` will be called which does not exist. This is a bug in Rails that has been documented a number of times. It should be mentioned in the text! From then on, generating the Product scaffold will not get you the layout shown in the book, and installing Tailwind manually later on will not fix that. I cannot imagine the book was worked through by someone before publication, and I’m seriously disappointed. On the Pragprog website, there should be a link to a page of errata in sequence of their occurrence in the text, not a forum where I can spend hours clicking around only to find the problem was never addressed.

I’m really sorry to be so negative, but I wanted to spend a couple of hours on getting up to date and not whole days on debugging the book.

Where Next?

Popular Pragmatic Bookshelf topics Top

johnp
Running the examples in chapter 5 c under pytest 5.4.1 causes an AttributeError: ‘module’ object has no attribute ‘config’. In particula...
New
belgoros
Following the steps described in Chapter 6 of the book, I’m stuck with running the migration as described on page 84: bundle exec sequel...
New
yulkin
your book suggests to use Image.toByteData() to convert image to bytes, however I get the following error: "the getter ‘toByteData’ isn’t...
New
New
leonW
I ran this command after installing the sample application: $ cards add do something --owner Brian And got a file not found error: Fil...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
nicoatridge
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
jskubick
I found an issue in Chapter 7 regarding android:backgroundTint vs app:backgroundTint. How to replicate: load chapter-7 from zipfile i...
New
digitalbias
Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on (page 64) If you follow the defau...
New
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New

Other popular topics Top

Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
Maartz
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
PragmaticBookshelf
Build modern server-driven web applications using htmx. Whatever programming language you use, you’ll write less (and cleaner) code. ...
New
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New

Sub Categories: