September 2022
Intermediate to advanced
410 pages
10h 7m
English
We are now going to add new functionality to our app’s schedule page. We’re going to allow a user to edit concert data inline on the schedule page. When users hit the Edit button, the display will be replaced by a form, and when they hit the Submit button on the form, the updated data is there in place. (We’re not going to worry about authentication very much here. If you are using the existing code, the sign-in links work, and you can sign in with the email areader@example.com and the password awesome. If that username doesn’t work, the database hasn’t been properly seeded, run rails db:seed to get some data.)
Oh, and we’re going to do this without writing a single line of JavaScript. Instead, we are going ...