# \#book-from-ruby-to-elixir

**URL:** https://forum.devtalk.com/tag/book-from-ruby-to-elixir/2921.md

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

---

## [From Ruby to Elixir: Elixir does not compile to Erlang](https://forum.devtalk.com/t/from-ruby-to-elixir-elixir-does-not-compile-to-erlang/188166)

<div class="topic-metadata">

**Author:** [@antfarm](https://forum.devtalk.com/u/antfarm)\
**Replies:** 1\
**Last updated:** [19 February 2025 19:47 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-elixir-does-not-compile-to-erlang/188166 "2025-02-19T19:47:47Z")

</div>

The following sentence in the section " Erlang, OTP, Elixir, and Friends" is not correct: “You’ll write Elixir code when you work on your app, but it’s compiled into a totally different programming language called Erlan…

---

## [From Ruby to Elixir: test send\_sms\_message/1 missing configuration in test.exs](https://forum.devtalk.com/t/from-ruby-to-elixir-test-send-sms-message-1-missing-configuration-in-test-exs/174095)

<div class="topic-metadata">

**Author:** [@cristofer](https://forum.devtalk.com/u/cristofer)\
**Replies:** 2\
**Last updated:** [16 October 2024 12:41 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-test-send-sms-message-1-missing-configuration-in-test-exs/174095 "2024-10-16T12:41:22Z")

</div>

Page 178 describing the test send\_sms\_message/1. We are missing to mention that the test.exs should import the dev secrets import\_config "./dev.secret.exs" If not we get into the error: test/phone\_app/conversations/co…

---

## [From Ruby to Elixir: Broken test for MessageController (182)](https://forum.devtalk.com/t/from-ruby-to-elixir-broken-test-for-messagecontroller-182/168877)

<div class="topic-metadata">

**Author:** [@symbolboxer](https://forum.devtalk.com/u/symbolboxer)\
**Replies:** 6\
**Last updated:** [5 September 2024 01:03 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-broken-test-for-messagecontroller-182/168877 "2024-09-05T01:03:08Z")

</div>

Hi! I believe I’ve found an erratum. tl;dr: MessageController/create does not add changeset validation errors to the flash, which breaks one of its tests. On page 182 we write this test: test "invalid params is reject…

---

## [From Ruby to Elixir: Stuck at the start (page 20)](https://forum.devtalk.com/t/from-ruby-to-elixir-stuck-at-the-start-page-20/158447)

<div class="topic-metadata">

**Author:** [@orville](https://forum.devtalk.com/u/orville)\
**Replies:** 3\
**Last updated:** [24 June 2024 03:32 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-stuck-at-the-start-page-20/158447 "2024-06-24T03:32:13Z")

</div>

I managed to install asdf, then erlang and elixir via asdf. I was able to create and test the example Mix project (page 19) successfully. I’m confused where to put the very first example: one.ex with two functions (hel…

---

## [From Ruby to Elixir:](https://forum.devtalk.com/t/from-ruby-to-elixir/138688)

<div class="topic-metadata">

**Author:** [@yba](https://forum.devtalk.com/u/yba)\
**Replies:** 1\
**Last updated:** [8 January 2024 15:27 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir/138688 "2024-01-08T15:27:19Z")

</div>

@sb8244 From Ruby to Elixir - iex(1)\> Enum.reduce(\[1, 2, 3\], 0, fn num, ac → if num \> max, do: num, else: ac end) error: undefined variable “max” └─ iex:6 \*\* (CompileError) cannot compile code (errors have been logge…

---

## [Spotlight: Stephen Bussey (Author) Interview and AMA!](https://forum.devtalk.com/t/spotlight-stephen-bussey-author-interview-and-ama/120416)

<div class="topic-metadata">

**Author:** [@PragmaticBookshelf](https://forum.devtalk.com/u/PragmaticBookshelf)\
**Replies:** 15\
**Last updated:** [17 October 2023 17:05 UTC](https://forum.devtalk.com/t/spotlight-stephen-bussey-author-interview-and-ama/120416 "2023-10-17T17:05:35Z")

</div>

Author Spotlight: Stephen Bussey @sb8244 What’s better than a development language built so programmers will love it? Two languages built to enhance the joy of coding! We talked with Stephen Bussey, author of F…

---

## [From Ruby to Elixir — warning about invalid association when doing mix ecto.create (page 97)](https://forum.devtalk.com/t/from-ruby-to-elixir-warning-about-invalid-association-when-doing-mix-ecto-create-page-97/115034)

<div class="topic-metadata">

**Author:** [@hoeppner](https://forum.devtalk.com/u/hoeppner)\
**Replies:** 2\
**Last updated:** [8 July 2023 13:48 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-warning-about-invalid-association-when-doing-mix-ecto-create-page-97/115034 "2023-07-08T13:48:56Z")

</div>

Hi @sb8244, I get a warning when I try to do the migrations on page 97 with mix ecto.create: warning: invalid association sms\_messages in schema PhoneApp.Conversations.Schema.Contact: associated schema PhoneApp.Conver…

---

## [From Ruby to Elixir: example\_server.ex code not working (page 74)](https://forum.devtalk.com/t/from-ruby-to-elixir-example-server-ex-code-not-working-page-74/112389)

<div class="topic-metadata">

**Author:** [@dharmamike](https://forum.devtalk.com/u/dharmamike)\
**Replies:** 2\
**Last updated:** [13 June 2023 10:45 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-example-server-ex-code-not-working-page-74/112389 "2023-06-13T10:45:43Z")

</div>

@sb8244 The code example for Examples.GenServer.SimpleServer.add/3 function does not work for me as written. I was able to get it to work by switching the function arguments so that the server was the first argument ra…

---

## [From Ruby to Elixir: Syntax error creating phone\_app (page 86)](https://forum.devtalk.com/t/from-ruby-to-elixir-syntax-error-creating-phone-app-page-86/112473)

<div class="topic-metadata">

**Author:** [@dharmamike](https://forum.devtalk.com/u/dharmamike)\
**Replies:** 1\
**Last updated:** [12 June 2023 14:03 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-syntax-error-creating-phone-app-page-86/112473 "2023-06-12T14:03:52Z")

</div>

@sb8244 In Chapter 6, Persisting Data with Ecto, the text says to create the phone\_app with phx.app and should read phx.new. use… $ mix phx.new phone\_app …rather than… $ mix phx.app phone\_app

---

## [From Ruby to Elixir (PragProg)](https://forum.devtalk.com/t/from-ruby-to-elixir-pragprog/110985)

<div class="topic-metadata">

**Author:** [@PragmaticBookshelf](https://forum.devtalk.com/u/PragmaticBookshelf)\
**Replies:** 2\
**Last updated:** [8 June 2023 12:51 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-pragprog/110985 "2023-06-08T12:51:21Z")

</div>

Use your Ruby knowledge to quickly learn Elixir and build scalable applications using the most powerful libraries in the Elixir ecosystem. Stephen Bussey @sb8244 edited by Jacquelyn Carter @jkcarter Elixir will cha…

---

## [From Ruby to Elixir: Duplication in section 'Erlang, OTP, Elixir, and Friends' (p. 7)](https://forum.devtalk.com/t/from-ruby-to-elixir-duplication-in-section-erlang-otp-elixir-and-friends-p-7/111500)

<div class="topic-metadata">

**Author:** [@s2k](https://forum.devtalk.com/u/s2k)\
**Replies:** 1\
**Last updated:** [5 June 2023 13:17 UTC](https://forum.devtalk.com/t/from-ruby-to-elixir-duplication-in-section-erlang-otp-elixir-and-friends-p-7/111500 "2023-06-05T13:17:30Z")

</div>

Hi @sb8244, The last part of the section is: This section is designed to give you enough knowledge to know what each is, how its different from the others, and how you’ll interact with it over time. We’ll cover all …
