<FromGitter>
<eliasjpr> Amber is featured in one of the chapters
<FromGitter>
<elorest> Super cool.
<FromGitter>
<eliasjpr> Super, I mean super!
<FromGitter>
<elorest> For real. π
<FromGitter>
<johansmitsnl> I'm trying to add jennifer to the project but get this error at compilation: β β ```code paste, see link``` β β I noticed that the config is slightly different from the docs so more might be changed? [https://gitter.im/amberframework/amber?at=5ba29ae1f4bd1056ac88f3b2]
<FromGitter>
<eliasjpr> @johansmitsnl you might want to load jennifer with an initializer
<FromGitter>
<eliasjpr> I think the order of requires affect the results
<FromGitter>
<eliasjpr> you want the pg adapter to be loaded before `require "jennifer/adapter/postgres"`
<FromGitter>
<elorest> Shouldn't jennifer require it's deps?
<FromGitter>
<elorest> It's possible that Jennifer has changed something in their recent versions.
<FromGitter>
<eliasjpr> I believe the pg-adapter is not loaded
<FromGitter>
<eliasjpr> Awesome! let me know if there anything else we can help you with
<FromGitter>
<elorest> π
<FromGitter>
<johansmitsnl> @eliasjpr what is the way to create a new model with a migration? when I run `amber g model ` I still get a `granite` model and migration. β β Running `crystal sam.cr -- generate:migration ` does nothing β β .amber.yml: ... [https://gitter.im/amberframework/amber?at=5ba2a230b9531f2dfa8f6140]
<FromGitter>
<eliasjpr> So jennifer uses sam.cr for generating stuff
<FromGitter>
<eliasjpr> one sec let me look for docs
<FromGitter>
<johansmitsnl> I took the sam code from the PR
<FromGitter>
<eliasjpr> did you ran `crystal sam.cr -- generate:migration CreateContact`
<FromGitter>
<eliasjpr> and then `crystal sam.cr -- db:setup` to run migrations
<FromGitter>
<johansmitsnl> `crystal sam.cr -- generate:migration {YourModel}` I ran, and I would expect a migration file. But git st shows nothing new.
<FromGitter>
<eliasjpr> Mmm
<FromGitter>
<eliasjpr> Is it possible for you to share your project?
<FromGitter>
<johansmitsnl> yes, one second
<FromGitter>
<johansmitsnl> it is very bare at the moment
<FromGitter>
<eliasjpr> Thats fine that will make it easier to debug
<FromGitter>
<johansmitsnl> But when added a migration I have to create the model manually ?
<FromGitter>
<eliasjpr> yes, this is because jennfer is not supported as a default model
<FromGitter>
<eliasjpr> if you would like I would recommend for you to use the default model `Granite` until the Jennifer recipe gets merged. The jennifer recipe will allow for you to use amber and jennifer more seamlessly
<FromGitter>
<johansmitsnl> Ok, I started switching to `Granite` because I'm not used to write queries anymore. and ActiveRecord spoiled me (I noticed)
<FromGitter>
<eliasjpr> You will feel right at home in a couple of key strokes
<FromGitter>
<johansmitsnl> `Jennifer` will be more embedded in the `Amber` project if I understood it correctly?
<FromGitter>
<eliasjpr> It would be supported via the recipe.
<FromGitter>
<eliasjpr> we will not be mainting/supporting the Jennifer integration. The community will