Agile Web Development with Rails 8 Beta 3: Rails 8 uses params.expect
instead of params.require(...).permit(...)
by default in the generated code. params.expect
no longer logs unpermitted params. The language here just needs to be adjusted slightly. The playtime exercise itself doesn’t really change, just the language to introduce it.
Sigh. I wish Rails hadn’t changed that. But I’ve updated the book to match. Thanks!