@belgoros
Nothing here yet.
Nothing here yet.
No blogs yet.
Thank you so much for sharing such useful tips. One point: you have a tiny typo in Comapny.find_by!(name:...), - it should be Company, I suppose :). Also in the Brake#do_brake method, I don't think the call puts "Brake id: #{self.brake.id}" to correct, - you are calling brake on the instance of the Brake class instead of just calling id method.
You mentioned: "We are going to place both functions in a separate module organization.ex under trello_app/lib/trello_app folder." I suppose it to be in trello_app/lib folder because: The name of the created module you were displaying later was defmodule TrelloApp.Organization you asked to alias it as TrelloApp.Organization later in the iex session.