fishburn

fishburn

Agile Web Development with Rails 8: Conflict between Preface and Who This Book Is For? (B3.0, page xvii)

I’m just curious: in the preface, it says, “The biggest non-deployment related change is the introduction of a basic authentication generator.” And then in the last bullet point of “Who This Book Is For”, it says, “The Rails team has chosen not to include plenty of features—such as user authentication…”. As a carryover from at least the Rails 7/7.2 book(s), is that last bit still accurate for Rails 8?

Marked As Solved

aotulton

aotulton

Editor at PragProg

Thanks for point this out. I believe Sam will be addressing that in his next update.

Also Liked

rubys

rubys

Author of Agile Web Development With Rails

Please do continue to make suggestions! Propshaft is an internal detail that the Rails team is proud of, but it it is essentially invisible to Rails developers. If you look closely at the HTML that is generated by a typical Rails app, you will see things like

<link rel="modulepreload" href="/assets/application-bfcdf840.js">

Propshaft is the component that creates that hex number before the dot. Before Propshaft, this was done by Sprockets, which had the ability to invoke preprocessors like coffee-script that no longer are popular, So the big changes is that you can no longer do something you weren’t likely to want to do anyway; and the Rails code base got smaller/simpler.

JLitko

JLitko

Thank you so much for taking the time to explain that! I will continue to share any suggestions I come across :slightly_smiling_face:

Where Next?

Popular Pragmatic Bookshelf topics Top

jimschubert
In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex&gt; product = %Product{} %Pento....
New
gilesdotcodes
In case this helps anyone, I’ve had issues setting up the rails source code. Here were the solutions: In Gemfile, change gem 'rails' t...
New
swlaschin
The book has the same “Problem space/Solution space” diagram on page 18 as is on page 17. The correct Problem/Solution space diagrams ar...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
hgkjshegfskef
The test is as follows: Scenario: Intersecting a scaled sphere with a ray Given r ← ray(point(0, 0, -5), vector(0, 0, 1)) And s ← sphere...
New
Charles
In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of ro...
New
Henrai
Hi, I’m working on the Chapter 8 of the book. After I add add the point_offset, I’m still able to see acne: In the image above, I re...
New
andreheijstek
After running /bin/setup, the first error was: The foreman' command exists in these Ruby versions: That was easy to fix: gem install fore...
New
Keton
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New

Other popular topics Top

AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
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
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
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
New
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
RobertRichards
Hair Salon Games for Girls Fun Girls Hair Saloon game is mainly developed for kids. This game allows users to select virtual avatars to ...
New

Sub Categories: