home
I just installed postgresql 10 in Fedora 28. then I did a mix ecto.migrate but it says **...
I have a form defined like this: <%= form_for @changeset, image_path(@conn, :create), ...
I have a project world_app which I have included in hello_app as a dependency (I have included it...
I have defined a plug in my App.Endpoint module in the following way: plug( Plug.Static, at:...
In many programming languages there is a combined operation that returns both the quotient and the...
I am currently having a bunch of migrations that create a few tables with references and a few...
This is what I want to implement 1. Customer can create a contact with name and phone number. 2....
I am trying to remove invisible characters from string see...
I have an empty list val = [] When the code below is run Enum.each [1, 2, 3], fn x -> ...
I want to be able to extract the Nth item of a tuple in a pipeline, without using with or otherwise...
I am trying to scan uploaded documents for viruses when a user uploads, using the Heroku Add-on...
When I run the iex all of the data get consumed by DataConsumer. Now if I change the order of...
Create a bitstring of 3 bits: b = <<1 :: 3>> Use bitstring comprehension to show the...
In Ruby, specifically RSpec, you can tell the test runner to abort on the first test that does not...
I'm trying to invoke a private macro, within a quote block, using a variable defined within the...
Is there a way we can define a virtual model in ecto. Which don't have migration file and don't...
Hello and sorry I'm new to elixir and phoenix, I have trouble saving an entry to a dynamically...
Given a module having two functions with the same arity, but different guard clauses, how do I...
I'm looking through the comprehension docs for elixir, and I'm confused about this snippet: for...
How do I update a map which has string keys? I want to update the "brand" value. My code (product...
I want to fetch data from external API: it's a similar request when change only one param (page). I...
This question already has an answer here: How to render raw HTML code...
I am trying to make a http post request with HTTPoison. I want to pass json data with header,...
Elixir / Phoenix Framework noob here. I am trying to add a new route that would resolve a string...
I have the following in my travis.yml language: node_js node_js: - 6.10 language:...
I have this module defmodule ElixirMeta.LangLoader do @external_resource [Path.join([__DIR__,...
I am having an issue where some where a set of routes is unavailable in production for an unknwown...
I am making an application that needs to connect to 2 mongo databases at the same time. I am using...
I am working on Ecto pagination using Scrivener. First I wanted to paginate contacts in Phonebook....
So I have occasionally dabbled with Elixir, but the thing that I struggled with in the past is...