Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Vasilis Spilka
@vasspilka
This message was deleted
Tim Riley
@timriley
@nepalez have you pushed them up into a branch or are they just on master?
@vasspilka I don’t think the Symbol#to_proc works like that when you have to supply an argument.
Vasilis Spilka
@vasspilka
I see @timriley thanks, I'm deleting the question as its unrelated
Luca Guidi
@jodosha
It's done!
Tim Riley
@timriley
Nice work @jodosha!
Luca Guidi
@jodosha
Thank you all! :green_heart:
Fran Worley
@fran-worley
Thank you @jodosha, here's to the start of a long and happy alliance!
Luca Guidi
@jodosha
@timriley @fran-worley :tada:
Piotr Solnica
@solnic
:tada: :cocktail: :wine_glass: :beers: :tada:
Luca Guidi
@jodosha
@solnic And as we speak, I'm starting to work on hanami-model w/ ROM ;)
Piotr Solnica
@solnic
@jodosha ooh, thanks for the heads-up, gonna join rom-rb “just in case”
Luca Guidi
@jodosha
@solnic Thank you. Any GH repo where to start? rom-repository? In my understanding the website doesn't report 2.0 changes yet.
Piotr Solnica
@solnic
@jodosha tell me what you want to do, more or less
Luca Guidi
@jodosha
@solnic for now just play with ROM + repository to refresh my memories, understand what's changed and what's possible to do.
Piotr Solnica
@solnic
@jodosha grab rom-repo from master then and look at latest specs, these are pretty high-level tests so should give you an overview of what’s possible
Luca Guidi
@jodosha
@solnic thank you! :)
Piotr Solnica
@solnic
I was going to add a bin/console to rom-repo but ran out of time
basically to have the same setup as we have in specs loaded for you so it’s easy to open console and do stuff
The last two are quite old
Damn, forgot that Gitter would expand those, sorry for the flood :(
Luca Guidi
@jodosha
@AMHOL Thank you! :green_heart:
Andy Holland
@AMHOL
:+1:
Piotr Solnica
@solnic
@jodosha do you have any ideas what kind of integration you’d want to have?
Luca Guidi
@jodosha
@solnic My goals are: remove boilerplate as much as possible, SQL automapping, associations and command/queries.
Andy Holland
@AMHOL
@jodosha you're in luck then, it's all supported already
Luca Guidi
@jodosha
@AMHOL ;)
Piotr Solnica
@solnic
@jodosha do you like to provide mixins in a similar way like with validations?
Luca Guidi
@jodosha
@AMHOL @solnic yes, for instance, I will probably make this https://gist.github.com/AMHOL/83796ede7e3e3219c6f6c934823dfd3e#file-rom-repo-starter-rb-L29-L45 to happen behind the scenes
Piotr Solnica
@solnic
yep, I think getting setup in place would be a good first step
Andy Holland
@AMHOL
@jodosha would that mean exposing a generalised querying API via relation? That kind of defeats the object of the relation being there
Piotr Solnica
@solnic
ie provide config API for hanami-model where you set connection options and then it would set up ROM behind the scenes
Andy Holland
@AMHOL
The relation should make use of the dataset API to expose a domain specific query interface
Piotr Solnica
@solnic
it should also auto-require relations and optional custom mappers and commands
Andy Holland
@AMHOL
:+1: That works
Luca Guidi
@jodosha
@solnic yes
Andy Holland
@AMHOL
@solnic could this just be a plugin for rom-sql?
Piotr Solnica
@solnic
nah, it’s all there already in rom core, it’s a matter of configuring it
Andy Holland
@AMHOL
Ahh OK
Luca Guidi
@jodosha
@solnic @AMHOL I'll probably ask questions on specific topics. ;)
Andy Holland
@AMHOL
Cool :)
Piotr Solnica
@solnic
@jodosha let’s chat in rom-rb room, I’m there
Luca Guidi
@jodosha
:+1:
Piotr Solnica
@solnic
Andrew Kozin
@nepalez
@timriley I've made last 3 commits (at various times) directly to master
Aditya Tiwari
@aditya01933
Hi, I have a small question.
How can I remove code duplication in following Schemas:
Ahh .. I don't know how to paste code block in gitter
Piotr Solnica
@solnic
@aditya01933 use triple `