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

jon
Some minor things in the paper edition that says “3 2020” on the title page verso, not mentioned in the book’s errata online: p. 186 But...
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
New
hazardco
On page 78 the following code appears: <%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
jonmac
The allprojects block listed on page 245 produces the following error when syncing gradle: “org.gradle.api.GradleScriptException: A prob...
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
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
a.zampa
@mfazio23 I’m following the indications of the book and arriver ad chapter 10, but the app cannot be compiled due to an error in the Bas...
New
New
dachristenson
@mfazio23 Android Studio will not accept anything I do when trying to use the Transformations class, as described on pp. 140-141. Googl...
New

Other popular topics Top

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
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
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
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
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: