Modern Front-End Development for Rails (Pragmatic Bookshelf)
Latest Threads About This Book
Modern front-end development for Rails, second edition - Struggling to get the first chapter to work
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
Modern Front-End Development for Rails - application does not start after run bin/setup (page xviii)
After some hassle, I was able to finally run bin/setup, now I have started the rails server but I get this error message right when I vis...
New
Is this book still relevant because setting it up could well be more difficult with newer gems/packages than when you first wrote the boo...
New
There is no main directory in the zip file at http://media.pragprog.com/titles/nrclient/code/nrclient-code.zip
p. xvi says “The version ...
New
Trying to build an app from scratch based off of the first chapter is extremely frustrating when trying to use the later/latest versions ...
New
The webpack/base.js sample continues to throw errors, is an updated version available or are these options still supposed to be valid and...
New
@noelrappin
Running the webpack dev server, I receive the following warning:
ERROR in tsconfig.json
TS18003: No inputs were found in c...
New
@noelrappin
The code for Venue has a typo, the current text is:
const rowNumbers = Array.from(Array(props.seatsPerRow).keys())
But the...
New
@noelrappin
page 213 P1.0 pdf:
example code chapter_11/01/app/views/schedule_days/_schedule_day.html.erb is missing a closing quote ("...
New
@noelrappin
page 96 (P1.0 pdf):
The .css file shown should be chapter_05/02/app/packs/entrypoints/application.css
but instead chapter_...
New
@noelrappin
Page 49 of P1.0:
The name of the attribute in the 4th paragraph is wrong.
It is:
data-day-toggle-visible-value
but shoul...
New
Just purchased the book and would love if there were a “before” version of the code for the chapters. I learn better by doing and unfortu...
New
It looks like a typo was introduced in the BandsController between B6 and B8. I looked in the first and last chapter version, but didn’t ...
New
And update the app/javascript/packs/application.scss to this:
chapter_01/01/app/packs/entrypoints/application.scss
The first file path...
New
Modern Front-End Development for Rails: Adding Interactivity with Turbo Frames (page 22)
This mentions you can login to the seed data wi...
New
Modern Front-End Development for Rails: xix
The hotwire:install command generates a config/cable.yml that references a Redis connection ...
New
Is useState a typo of useEffect? It seems like the section is much more focused on useEffect (the data is acquired using fetch inside use...
New
I suspect you might be aware of this but here goes. If one follows the book, the end of ch 9 will result in errors from the useEffect cal...
New
Header “Configuring Webacker” should be “Webpacker”
New
I noticed that ticketData is being passed to seat.tsx as a prop buf AFAICT, it doesn’t end up doing anything. I’ve just finished chapter ...
New
I noticed in the section Passing Data Through our React Code a status that was previously called open changes to unsold without mentionin...
New
After completing the section Using Data in Stimulus (ends pg 167), I noticed something wrong with Ajax updates. After running the rake ta...
New
The code to replace isn’t actually in a span:
<div class="col-span-1 text-xl">
<% if concert.sold_out? %>
...
New
This looks to be dead code as it’s not defined by tailwind nor defined elsewhere in the app.
New
setTicketsToBuy: (number) => void
As currently written, number is interpreted as a name (with implicit any type) rather than a type...
New
We’re going to add it to the layout file app/layouts/application.html.erb by adding <%= javascript_packs_tag(“venue_display”) %> to...
New
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
Value attributes are usually declared with their associated controller. Values need to be declared in a static object of strings and data...
New
First of all, learned a lot after completing the first 3 chapters. Love the explanations. Thanks!
Generally, not sure what is the path t...
New
Stimulus a hasHiddenClass: boolean property that we’re not using in this example.
Stimulus has a hasHiddenClass… ?
New
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
Most Active Over Three Years
It’s hard to have a Rails application without integrating some client-side logic. But client-side coding tools, and the Rails tools for i...
New
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin
Even when you’re ultimately right about what the future ho...
New
Modern Front-End Development for Rails - application does not start after run bin/setup (page xviii)
After some hassle, I was able to finally run bin/setup, now I have started the rails server but I get this error message right when I vis...
New
@noelrappin
Running the webpack dev server, I receive the following warning:
ERROR in tsconfig.json
TS18003: No inputs were found in c...
New
On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
New
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
Modern front-end development for Rails, second edition - Struggling to get the first chapter to work
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
I ran into issues around pg. 37 related to stimulus targets with the following console error:
day_toggle_controller.ts:6 Uncaught (in pr...
New
Hi, I just got bitten by this issue when trying to run the initial bin/setup command:
To work with the latest versions I’ve had to lock...
New
Trying to build an app from scratch based off of the first chapter is extremely frustrating when trying to use the later/latest versions ...
New
Hello,
While trying to run the code examples from the book I always encounter the same issues that seem to be caused, maybe among other ...
New
Page 15 shows these imports for the conversion of application.js to application.ts
import * as ActiveStorage from "@rails/activestorage"...
New
Page xv invites us to run the example app with rails s. I get this error:
Showing <APP_DIR>/turbo/01/app/views/concerts/_schedule_...
New
Is this book still relevant because setting it up could well be more difficult with newer gems/packages than when you first wrote the boo...
New
And update the app/javascript/packs/application.scss to this:
chapter_01/01/app/packs/entrypoints/application.scss
The first file path...
New
Publisher:
Pragmatic Bookshelf
Latest in Modern Front-End Development for Rails
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!









