Shay Raize-Meshulam
1 min readNov 15, 2017

--

Hello Adi,

thank you for this great guide.
Just a few issues,

Since I used Phoenix 1.3 I add to modify the schema created by the mix phx.gen.html …

From:

schema “products” do
field :name, :string
field :price, :integer
field :category_id, :string

To:

schema “products” do
field :name, :string
field :price, :integer
belongs_to :category, RummageExample.Sales.Category

But now I got error when trying to add use to the controller:
use Rummage.Ecto

* (UndefinedFunctionError) function Rummage.Ecto.__using__/1 is undefined or private

(the rummage was defined in mix.exs / deps)

--

--

Shay Raize-Meshulam
Shay Raize-Meshulam

Written by Shay Raize-Meshulam

I’m a senior professional services at EdgeHawk-Security. Mainly interested in 5G security, network integrations and tools that helps improving PoCs and demos.

Responses (1)