私は対応するSessionViewを持つSessionControllerを持っています。テンプレートディレクトリ内には、 "new.html.eex"ファイルを持つ "session"フォルダがあります。私は、エラーを受け取るsession_path「新」アクションに移動した場合: HelloWeb.SessionView is not available それは私は単に、new.html.ee
私はブローを使用しています。 エリクシールV1.5 フェニックスv1.3.0デベロッパー 私は列でない主キーの状態のための「get_by」方式のように使用してデシベル結果を取得したいと思います。 alias MyApp.MySchema.User
def index(conn, %{"user_name" => user_name}) do
user = User.get_by!(U
私はエリキシル(フェニックス1.3)でabsintheを使用しています。ユーザー、投稿、好きなブログアプリがあり、ユーザーと投稿の多対多の関係で参加しています。 schema "users" do
field :email, :string
field :handle, :string
many_to_many :liked_posts, MyApp.Content.