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

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
brianokken
Many tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers smoke and get, which are not decl...
New
sdmoralesma
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159 When I execute the command: user=&gt; (create-...
New
Chrichton
Dear Sophie. I tried to do the “Authorization” exercise and have two questions: When trying to plug in an email-service, I found the ...
New
jgchristopher
“The ProductLive.Index template calls a helper function, live_component/3, that in turn calls on the modal component. ” Excerpt From: Br...
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
hazardco
On page 78 the following code appears: &lt;%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
rainforest
Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels. Before ...
New
jwandekoken
Book: Programming Phoenix LiveView, page 142 (157/378), file lib/pento_web/live/product_live/form_component.ex, in the function below: d...
New
dachristenson
I’ve got to the end of Ch. 11, and the app runs, with all tabs displaying what they should – at first. After switching around between St...
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
AstonJ
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
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
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
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
PragmaticBookshelf
A concise guide to MySQL 9 database administration, covering fundamental concepts, techniques, and best practices. Neil Smyth MySQL...
New

Sub Categories: