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

New
telemachus
Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks” While running the smoke tests in Chapter 2, I get these...
New
GilWright
Working through the steps (checking that the Info,plist matches exactly), run the demo game and what appears is grey but does not fill th...
New
AndyDavis3416
@noelrappin Running the webpack dev server, I receive the following warning: ERROR in tsconfig.json TS18003: No inputs were found in c...
New
fynn
This is as much a suggestion as a question, as a note for others. Locally the SGP30 wasn’t available, so I ordered a SGP40. On page 53, ...
New
hazardco
On page 78 the following code appears: <%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
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
jonmac
The allprojects block listed on page 245 produces the following error when syncing gradle: “org.gradle.api.GradleScriptException: A prob...
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New
roadbike
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 Top

PragmaticBookshelf
Instantly view the changes you make to an app with stateful hot reload, and define a declarative UI in the same language as the app logic...
New
AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
PragmaticBookshelf
Andy and Dave wrote this influential, classic book to help their clients create better software and rediscover the joy of coding. Almost ...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
PragmaticBookshelf
From finance to artificial intelligence, genetic algorithms are a powerful tool with a wide array of applications. But you don't need an ...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
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
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
PragmaticBookshelf
Overarching tutorial for Python beginner and intermediate developers that teaches web development with the Flask framework. Miguel Gr...
New

Sub Categories: