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
edruder
I thought that there might be interest in using the book with Rails 6.1 and Ruby 2.7.2. I’ll note what I needed to do differently here. ...
New
raul
Page 28: It implements io.ReaderAt on the store type. Sorry if it’s a dumb question but was the io.ReaderAt supposed to be io.ReadAt? ...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |&gt; handle_event() |&gt; render() but the correc...
New
New
adamwoolhether
When trying to generate the protobuf .go file, I receive this error: Unknown flag: --go_opt libprotoc 3.12.3 MacOS 11.3.1 Googling ...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
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
bjnord
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance runn...
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

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
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
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
PragmaticBookshelf
Use WebRTC to build web applications that stream media and data in real time directly from one user to another, all in the browser. ...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
First poster: AstonJ
Jan | Rethink the Computer. Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New

Sub Categories: