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
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5bc820c982893a2f3bfcac8b]
<FromGitter> <Blacksmoke16> some example code i was working on for adapter types
<FromGitter> <Blacksmoke16> for PG that will save the MyType class as `"#{val.x}-#{val.y}"` in the db
<FromGitter> <Blacksmoke16> but on read will new up an instance of it and set the x/y values from the string
<FromGitter> <Blacksmoke16> @drujensen just as info only
<FromGitter> <alex-lairan> Hi, how can I do `or` request with `granite`? ⏎ ⏎ I have `Model.where(:description, :like, string)` and I want to like multiples fields.
feepbot has quit [Ping timeout: 250 seconds]
feepbot has joined #amber
feepbot has quit [Ping timeout: 245 seconds]
feepbot has joined #amber
<FromGitter> <Blacksmoke16> i think that feature is a wip/coming soon
<FromGitter> <Blacksmoke16> at least for the query builder stuff
<FromGitter> <Blacksmoke16> would want to use `.all("WHERE articles.author = ? OR articles.author = ?", ["Noah", "Joe"])`
wontruefree has joined #amber
<FromGitter> <drujensen> you should be able to chain them like this: `Model.where(:description, :like, string).where(:name, :like, “joe*)`
<FromGitter> <drujensen> nm, you are looking for `OR`
<FromGitter> <drujensen> yeah, we still need to add that to the query builder
wontruefree has quit [Quit: bye]
wontruefree has joined #amber
wontruefree has quit [Quit: bye]
wontruefree has joined #amber
wontruefree has quit [Quit: bye]
wontruefree has joined #amber
wontruefree has quit [Quit: bye]
wontruefree has joined #amber