# \#book-programming-phoenix-1-4

**URL:** https://forum.devtalk.com/tag/book-programming-phoenix-1-4/208.md

[Latest](https://forum.devtalk.com/latest.md) · [Categories](https://forum.devtalk.com/categories.md) · [Tags](https://forum.devtalk.com/tags.md)

---

## [Programming Phoenix 1.4: Deprecated declaration (Page 172)](https://forum.devtalk.com/t/programming-phoenix-1-4-deprecated-declaration-page-172/89715)

<div class="topic-metadata">

**Author:** [@timpritlove](https://forum.devtalk.com/u/timpritlove)\
**Replies:** 0\
**Last updated:** [1 January 2023 22:09 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-deprecated-declaration-page-172/89715 "2023-01-01T22:09:34Z")

</div>

@redrapids When running mix test test/rumbl\_web/controllers/auth\_test.exs the system responds with: warning: Using Phoenix.ConnTest is deprecated, instead of: use Phoenix.ConnTest do: import Plug.Conn im…

---

## [Programming Phoenix 1.4: Chapter 5. Authenticating Users • Page 98](https://forum.devtalk.com/t/programming-phoenix-1-4-chapter-5-authenticating-users-page-98/88675)

<div class="topic-metadata">

**Author:** [@timpritlove](https://forum.devtalk.com/u/timpritlove)\
**Replies:** 0\
**Last updated:** [25 December 2022 15:46 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-chapter-5-authenticating-users-page-98/88675 "2022-12-25T15:46:21Z")

</div>

On Page 98, the proposed changes to app.html.eex include the following code: \<a href="http://phoenixframework.org/" class="phx-logo"\> \<img src="\<%= Routes.static\_url(@conn, "/images/phoenix.png") %\>" alt="Ph…

---

## [Programming Phoenix 1.4 - updating nav in layout should be in root.html.heex? (page 97)](https://forum.devtalk.com/t/programming-phoenix-1-4-updating-nav-in-layout-should-be-in-root-html-heex-page-97/52475)

<div class="topic-metadata">

**Author:** [@yujiku808](https://forum.devtalk.com/u/yujiku808)\
**Replies:** 1\
**Last updated:** [25 December 2022 15:46 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-updating-nav-in-layout-should-be-in-root-html-heex-page-97/52475 "2022-12-25T15:46:19Z")

</div>

It says to update the nav section in the layout in ‘/lib/rumbl\_web/templates/layout/app.html.eex’. I have 3 files in that directory and they are all .heex files. ‘app.html.heex’ does not have an existing nav section. The…

---

## [Programming Phoenix 1.4: Slow tests](https://forum.devtalk.com/t/programming-phoenix-1-4-slow-tests/64343)

<div class="topic-metadata">

**Author:** [@pawlik](https://forum.devtalk.com/u/pawlik)\
**Replies:** 0\
**Last updated:** [15 July 2022 21:01 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-slow-tests/64343 "2022-07-15T21:01:03Z")

</div>

@redrapids Title: Programming Phoenix 1.4 (chapter V: Testing MVC) The book’s output shows time for tests 0.1s, but mine was showing 15s for 11 tests. This sent me down a rabbit hole. Some kind of suggestions to add: …

---

## [Programming Phoenix 1.4: Suggestion on wording in Category Migrations](https://forum.devtalk.com/t/programming-phoenix-1-4-suggestion-on-wording-in-category-migrations/44476)

<div class="topic-metadata">

**Author:** [@digitsu](https://forum.devtalk.com/u/digitsu)\
**Replies:** 0\
**Last updated:** [11 March 2022 14:08 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-suggestion-on-wording-in-category-migrations/44476 "2022-03-11T14:08:12Z")

</div>

On page 120, Due to the slight formatting errata already noted on this page, those of us (like me) who actually executed mix ecto.migrate at this stage created a table that did not enforce the unique index constraint th…

---

## [Programming Phoenix 1.4:](https://forum.devtalk.com/t/programming-phoenix-1-4/44475)

<div class="topic-metadata">

**Author:** [@digitsu](https://forum.devtalk.com/u/digitsu)\
**Replies:** 0\
**Last updated:** [11 March 2022 14:07 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4/44475 "2022-03-11T14:07:26Z")

</div>

Title: Programming Phoenix \>= 1.4 : Error in example (page 124) In the creation of the Rumbl.Multimedia.Category{name: “Test”} but the output refers to name: “hello”

---

## [Programming Phoenix 1.4 (PragProg)](https://forum.devtalk.com/t/programming-phoenix-1-4-pragprog/431)

<div class="topic-metadata">

**Author:** [@PragmaticBookshelf](https://forum.devtalk.com/u/PragmaticBookshelf)\
**Replies:** 3\
**Last updated:** [6 February 2022 04:00 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-pragprog/431 "2022-02-06T04:00:58Z")

</div>

Don’t accept the compromise between fast and beautiful: you can have it all. Phoenix creator Chris McCord, Elixir creator José Valim, and award-winning author Bruce Tate walk you through building an application that’s fa…

---

## [Programming Phoenix 1.4: typo: possibile -\> possible (page 154)](https://forum.devtalk.com/t/programming-phoenix-1-4-typo-possibile-possible-page-154/33111)

<div class="topic-metadata">

**Author:** [@unclebilly](https://forum.devtalk.com/u/unclebilly)\
**Replies:** 0\
**Last updated:** [16 December 2021 16:54 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-typo-possibile-possible-page-154/33111 "2021-12-16T16:54:12Z")

</div>

Programming Phoenix 1.4: typo: “possibile” should be “possible”. That is all :slight\_smile:

---

## [Programming Phoenix 1.4:  Formatting and extraneous "END OF OUTPUT" (page 120)](https://forum.devtalk.com/t/programming-phoenix-1-4-formatting-and-extraneous-end-of-output-page-120/25725)

<div class="topic-metadata">

**Author:** [@JRombouts](https://forum.devtalk.com/u/JRombouts)\
**Replies:** 0\
**Last updated:** [18 October 2021 21:49 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-formatting-and-extraneous-end-of-output-page-120/25725 "2021-10-18T21:49:01Z")

</div>

A minor formatting issue in the first code example on page 120 Extra “END OF OUTPUT”, mix ecto.migrate offset.

---

## [Programming Phoenix 1.4: a implementation -\> an implementation (page 267)](https://forum.devtalk.com/t/programming-phoenix-1-4-a-implementation-an-implementation-page-267/11181)

<div class="topic-metadata">

**Author:** [@dewetblomerus](https://forum.devtalk.com/u/dewetblomerus)\
**Replies:** 0\
**Last updated:** [1 July 2021 00:53 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-a-implementation-an-implementation-page-267/11181 "2021-07-01T00:53:11Z")

</div>

“a implementation” is a tiny grammar mistake. It should be “an implementation”.

---

## [Programming Phoenix 1.4: Inconsistent query result (page 132)](https://forum.devtalk.com/t/programming-phoenix-1-4-inconsistent-query-result-page-132/5656)

<div class="topic-metadata">

**Author:** [@adamu](https://forum.devtalk.com/u/adamu)\
**Replies:** 1\
**Last updated:** [1 June 2021 04:25 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-inconsistent-query-result-page-132/5656 "2021-06-01T04:25:20Z")

</div>

take a look at this code for counting all users with usernames starting with j or c. The query then returns a count of 2. However, Chris’s username is mccord (page 64), so the result should be 1, or the query should …

---

## [Programming Phoenix 1.4: Chapter 11 - Extracting Rumbl and RumbleWeb (Page 237, 238, 240)](https://forum.devtalk.com/t/programming-phoenix-1-4-chapter-11-extracting-rumbl-and-rumbleweb-page-237-238-240/7672)

<div class="topic-metadata">

**Author:** [@conradwt](https://forum.devtalk.com/u/conradwt)\
**Replies:** 2\
**Last updated:** [19 May 2021 11:32 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-chapter-11-extracting-rumbl-and-rumbleweb-page-237-238-240/7672 "2021-05-19T11:32:45Z")

</div>

First, the code resources: Page 237: rumbl\_umbrella/apps/rumbl/mix.exs Note: That this file is missing. Page 238: rumbl\_umbrella/apps/rumbl/lib/rumbl/application.ex Note. This file is included but the original appl…

---

## [Programming Phoenix 1.4: Chapter 7: Doesn't mention how to actually get the form validation error for category select (page 140)](https://forum.devtalk.com/t/programming-phoenix-1-4-chapter-7-doesnt-mention-how-to-actually-get-the-form-validation-error-for-category-select-page-140/8805)

<div class="topic-metadata">

**Author:** [@remmy](https://forum.devtalk.com/u/remmy)\
**Replies:** 0\
**Last updated:** [15 April 2021 13:52 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-chapter-7-doesnt-mention-how-to-actually-get-the-form-validation-error-for-category-select-page-140/8805 "2021-04-15T13:52:01Z")

</div>

Hello, At the end of page 140 the book implies that assoc\_constraint means that you should get a descriptive form validation error when submitting the video new/edit form with a category ID that doesn’t exist: As with…

---

## [Programming Phoenix 1.4: Add category\_id to video table (page 121)](https://forum.devtalk.com/t/programming-phoenix-1-4-add-category-id-to-video-table-page-121/7576)

<div class="topic-metadata">

**Author:** [@conradwt](https://forum.devtalk.com/u/conradwt)\
**Replies:** 1\
**Last updated:** [5 March 2021 00:58 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-add-category-id-to-video-table-page-121/7576 "2021-03-05T00:58:08Z")

</div>

On page 103, we perform: mix phx.gen.html Multimedia Video videos user\_id:references:users \\ url:string title:string description:text The above code adds a field, user\_id, to the videos tables. video.ex: defmodule Ru…

---

## [Programming Phoenix 1.4: Chapter 5 HTTP DELETE clarification (page 98)](https://forum.devtalk.com/t/programming-phoenix-1-4-chapter-5-http-delete-clarification-page-98/5600)

<div class="topic-metadata">

**Author:** [@adamu](https://forum.devtalk.com/u/adamu)\
**Replies:** 1\
**Last updated:** [3 January 2021 07:25 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-chapter-5-http-delete-clarification-page-98/5600 "2021-01-03T07:25:34Z")

</div>

I’ve been dabbling in Elixir for years, but I’m finally learning Phoenix properly. Very much enjoying this book and how it explains everything the framework is doing along the way to prove there is no magic. However, I …

---

## [Spotlight: Bruce Tate (Author)](https://forum.devtalk.com/t/spotlight-bruce-tate-author/4165)

<div class="topic-metadata">

**Author:** [@PragmaticBookshelf](https://forum.devtalk.com/u/PragmaticBookshelf)\
**Replies:** 7\
**Last updated:** [30 December 2020 20:53 UTC](https://forum.devtalk.com/t/spotlight-bruce-tate-author/4165 "2020-12-30T20:53:12Z")

</div>

Idea, Timing, Brand, and Network: A Hero’s Journey with Bruce Tate @redrapids If you think there’s nothing more to being an author than writing words, think again. Being an author is about growing a business, a…
