Comments (5)
Hey @dianjin! that's interesting, the example app has the same model and it's working correctly. What ecto version are you running?
from addict.
My deps:
defp deps do
[{:phoenix, "~> 1.2"},
{:phoenix_ecto, "~> 3.0"},
{:absinthe_plug, "~> 1.1"},
{:postgrex, ">= 0.0.0"},
{:timex, ">= 0.0.0"},
{:phoenix_html, "~> 2.3"},
{:phoenix_live_reload, "~> 1.0", only: :dev},
{:ecto, "~> 1.0.0", override: true},
{:cowboy, "~> 1.0"},
{:addict, "~> 0.3"}
]
end
I added the "override:true" to ecto since when I first added the addict dependency, mix deps.get failed because of conflicting inter-dependencies or something of that nature - a post on StackOverflow suggested to add the "override: true" which then enabled me to run mix deps.get with addict.
from addict.
Ohh I see. So, Addict now depends on Ecto 2.0
. Do you have any hard dependency on Ecto 1.0
? Please check #98 for more information on it.
An alternative would be to use version 0.2.5
of Addict, but you'll be missing out new features and enhancements that will appear in the future.
from addict.
Okay, I changed my deps to ecto version 2.0.0 and it worked. Thanks for the assistance! 😃
from addict.
Glad it fixed it 😄
from addict.
Related Issues (20)
- Hitting enter on forms doesn't submit them
- Skip routes.
- Email Templates HOT 2
- [README]Url for "User Model" and "Database Connection" are invalid HOT 2
- The package is not working with a fresh install HOT 1
- User authentification with Addict.Plugs.Authenticated -> plug :action no longer required
- `Addict.Helpers.current_user` can grow stale
- Needed to configure generate_csrf_token HOT 3
- umbrella
- Intermittent error running tests
- Phoenix framework 1.3 HOT 4
- Changing base layout HOT 2
- New Phoenix directory structure
- Password reset/registration breaks in a release
- Addict View is undefined HOT 1
- Normalizing phone numbers in our DB
- The list must contain only integers, strings or nested such lists; got: [:mailgun] HOT 1
- Break dependencies in Phoenix 1.2 HOT 9
- Specify layout as option in configuration HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addict.