AleksandrKudashkin

AleksandrKudashkin

Modern Front-End Development for Rails: B7 not sure about the pathway

First of all, learned a lot after completing the first 3 chapters. Love the explanations. Thanks!

Generally, not sure what is the path to follow when you want to program along the way. I took the turbo/01 and just followed along.

But then, say in Chapter 3 when we did the show/hide button on the Favorites section, it works perfectly until you add a new favorite to the section. Then it just hides the first item in the list.

Also, if I click on Edit inside the Favorites section, that does not show the editing form but instead just removes the concert from the favorites section (only visually) with a message in JS Console “Response has no matching element”

I believe I need to do some fixing myself, but would be happy to know if there is a recommended way for those folks who want to start at some point and code along the way.

Marked As Solved

noelrappin

noelrappin

Author of Modern Front-End Development for Rails

It should work all the way through, anything that doesn’t work all the way through is a bug or should be called out in the text as not quite working yet.

Actually that show/hide thing not showing new favorites is a bug that I didn’t notice and actually wind up fixing later in the book, but probably should just make correct in the earlier code.

Similarly on the Edit inside the Favorites, I think I get rid of that a little later when we make favorites have a different partial than regular concerts.

Thanks! Glad you are enjoying it.

Where Next?

Popular Pragmatic Bookshelf topics Top

johnp
Hi Brian, Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
New
sdmoralesma
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159 When I execute the command: user=> (create-...
New
herminiotorres
Hi @Margaret , On page VII the book tells us the example and snippets will be all using Elixir version 1.11 But on page 3 almost the en...
New
conradwt
First, the code resources: Page 237: rumbl_umbrella/apps/rumbl/mix.exs Note: That this file is missing. Page 238: rumbl_umbrella/app...
New
rmurray10127
Title: Intuitive Python: docker run… denied error (page 2) Attempted to run the docker command in both CLI and Powershell PS C:\Users\r...
New
New
leba0495
Hello! Thanks for the great book. I was attempting the Trie (chap 17) exercises and for number 4 the solution provided for the autocorre...
New
mert
AWDWR 7, page 152, page 153: Hello everyone, I’m a little bit lost on the hotwire part. I didn’t fully understand it. On page 152 @rub...
New
EdBorn
Title: Agile Web Development with Rails 7: (page 70) I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New
dachristenson
I just bought this book to learn about Android development, and I’m already running into a major issue in Ch. 1, p. 20: “Update activity...
New

Other popular topics Top

AstonJ
Or looking forward to? :nerd_face:
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1142 25765 758
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
New
New

Sub Categories: