Top "Phoenix-framework" questions

Elixir Web Framework targeting full-featured, fault tolerant applications with realtime functionality

Setting up Phoenix Framework and Ecto to use UUIDs: how to insert the generated value?

A few days ago I started using Elixir and the Phoenix Framework (v 0.12.0) with a Postgres database. I'm trying to …

postgresql elixir phoenix-framework ecto
Inserting associated models in Ecto

I'm trying to insert an invoice struct along with its associated invoice items. I'm able to insert the invoice data, …

elixir phoenix-framework ecto
Data Types in Ecto - "value too long for type character varying(255)"

ERROR 22001 (string_data_right_truncation): value too long for type character varying(255) I understand (and assumed) that a string would …

elixir phoenix-framework ecto
What is the simplest way to do upsert with Ecto (MySQL)

Doing upsert is common in my app and I want to implement the cleanest and simple way to implement upsert. …

mysql elixir phoenix-framework ecto
Cannot expand struct - elixir/phoenix

I'm trying to display a form on the screen. But I keep getting this error when I try to start …

struct elixir phoenix-framework
has_many, through associations in Ecto

I'm still trying to grok how to deal with creating/updating has_many, through: associations in Ecto. I've re-read José…

elixir phoenix-framework ecto
Get current environment name

In Phoenix Framework, how can I get the current environment's name ? I've already tried reading env variables with System.get_…

elixir phoenix-framework
How to use SASS/SCSS with Phoenix framework?

Is there a way to use sass/scss for stylesheets when using Phoenix Framework? And if there is, then how ?

phoenix-framework
How To Add CSS/JS Dependencies To Phoenix Project?

I'm trying to add jquery to a Phoenix project. When I link to jquery direct in app.html.eex in …

jquery elixir phoenix-framework brunch
Formatting a time in Elixir

I'm new to Elixir, trying to port a Rails API to Phoenix as a learning project. I have a Postgres …

elixir phoenix-framework