faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
confact has quit [Read error: Connection reset by peer]
confact has joined #amber
confact has quit [Ping timeout: 248 seconds]
<FromGitter> <Nicolab> Hi ⏎ Is it possible to make a transaction with Granite?
<FromGitter> <Nicolab> With Jennifer: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ I don't find with Granite [https://gitter.im/amberframework/amber?at=5e3c1620e8a83835591c4096]
confact has joined #amber
<FromGitter> <Blacksmoke16> it is, would be like
<FromGitter> <Blacksmoke16> try like ⏎ ⏎ ```YourModel.adapter.database.transaction do |tx| ⏎ # Do stuff ⏎ end``` [https://gitter.im/amberframework/amber?at=5e3c1c19594a0517c26e7007]
<FromGitter> <Blacksmoke16> @Nicolab
<FromGitter> <Nicolab> Great, thanks @Blacksmoke16
<FromGitter> <Nicolab> It works ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ Where am i wrong? Maybe I need to pass the tx.connection to the User model? [https://gitter.im/amberframework/amber?at=5e3c5f5ee8a83835591d2f0c]
<FromGitter> <Blacksmoke16> uh
t1|Mike has quit [*.net *.split]
t1|Mike has joined #amber
t1|Mike has quit [Changing host]
t1|Mike has joined #amber