Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 00:41
    masashi-fuji starred dry-rb/dry-system
  • Mar 08 09:04
    neuroevolutus starred dry-rb/dry-initializer
  • Mar 08 06:48
    Josiassejod1 commented #31
  • Mar 07 05:25
  • Mar 05 07:18
    tobiasfeistmantl starred dry-rb/dry-monads
  • Mar 05 05:33

    solnic on v0.9.0

    (compare)

  • Mar 05 05:32

    dry-bot on master

    [devtools] sync (compare)

  • Mar 05 05:32

    solnic on master

    Update changelog.yml Bump dry-matcher to 0.9.0 (compare)

  • Mar 05 05:30

    dry-bot on master

    [devtools] update changelog.yml… [devtools] sync (compare)

  • Mar 05 05:30

    solnic on master

    Turn evaluator into an Object d… Merge pull request #32 from dry… (compare)

  • Mar 05 05:30
    solnic closed #32
  • Mar 05 05:30
    solnic closed #31
  • Mar 04 21:57
    JosiahF starred dry-rb/dry-matcher
  • Mar 04 21:57
    JosiahF starred dry-rb/dry-system
  • Mar 04 06:15
    solnic commented #32
  • Mar 03 18:03
    nertzy starred dry-rb/dry-monads
  • Mar 03 12:56
    timriley synchronize #161
  • Mar 03 12:56

    timriley on add-0-19-0-changelog

    Add changelog entry for 0.19.0 (compare)

  • Mar 03 12:55
    timriley synchronize #161
  • Mar 03 12:55

    timriley on add-0-19-0-changelog

    Add changelog entry for 0.19.0 (compare)

Wojciech Maciejak
@wmaciejak
Hi guys! I created container with mixin, is there any way to stub it?
class Container
  class DryContainer
    include Dry::Container::Mixin
  end

  attr_reader :app, :container

  class << self
    attr_reader :instance
  end

  def self.configure
    container = DryContainer.new
    yield(container)
    @instance = new(Rails.application, container)
    freeze
  end

  def initialize(app, container)
    @app = app
    @container = container
  end

  delegate :[], to: :container
end
Nikita Shilnikov
@flash-gordon
@wmaciejak http://dry-rb.org/gems/dry-container/testing/ did you see this?
Luca Guidi
@jodosha
@sondnm Nope, it's not correct, I'm writing a fix.
@sondnm dry-rb/dry-inflector#14
Son Dang
@sondnm
@jodosha cool!
Abinoam P. Marques Jr.
@abinoam
@sondnm Good catch!
Son Dang
@sondnm
thanks :smile:
Abinoam P. Marques Jr.
@abinoam
FYI this bugs also affects Inflecto gem! :scream:
But, thanks to you and @jodosha will not affect Dry::Inflector anymore :sunglasses:
Son Dang
@sondnm
I'm happy that helps :sparkles:
Luca Guidi
@jodosha
I just merged the fix on master. I'll wrap a new release on tomorrow.
Luca Guidi
@jodosha
Hello everyone, I just pushed dry-inflector v0.1.1. with the #ordinalize fix.
Have a great weekend :wave:
Gustavo Caso
@GustavoCaso
Awesome thanks @jodosha
You too
Piotr Solnica
@solnic
@jodosha good job :) enjoy the weekend
Aleksandr Gavrishchuk
@Aleksgav
Hello!
Can I get access to another value in custom validation rule?
Oskar Szrajer
@gotar
no
Oskar Szrajer
@gotar
but you can create a rule based on few attributes, or preprocess them to have access to necessary stuff inside "single field”, as far as I know
Aleksandr Gavrishchuk
@Aleksgav
@gotar Thanks
I use option with #with )
rehnathomas
@rehnathomas
Is it possible to pass arguments into Dry Validation Schema ?
Vasily Kolesnikov
@v-kolesnikov
rehnathomas
@rehnathomas
ok @v-kolesnikov Thank you.
Jeff Dickey
@jdickey
In dry-web-roda (and thus presumably in dry-view), how do I add per-page/view CSS assets?
Gustavo Caso
@GustavoCaso
@jdickey Well I'm hacking a project with dry-web-roda
and use some plugin from roda
let me check the code
Jeff Dickey
@jdickey
@GustavoCaso Cool; presumably you're farther along with your app than I am, then; thanks
Gustavo Caso
@GustavoCaso
Let see I have been in procrastination mode lately :joy:
Here the application file
Jeff Dickey
@jdickey
thanks; taking a look now
Gustavo Caso
@GustavoCaso
I use the roda plugin public and assets
Jeff Dickey
@jdickey
great; I'll chase down those. First time I've used Roda in a non-API app
Gustavo Caso
@GustavoCaso
This is my layout page
Hope this helps
Jeff Dickey
@jdickey
yep, that makes perfect sense; so obvious I couldn't possibly see it 🤓
thanks a lot; you just saved me likely a weekend of Rube Goldberging
Gustavo Caso
@GustavoCaso
hehe happy to help
Julien Blanchard
@julienXX
Hello is there a way with dry-transaction to have multiple arguments in a step without with_step_args? I'm calling a dry-transaction from a Rails controller and having the controller knowing the steps bothers me.
Gustavo Caso
@GustavoCaso
At the moment no
If you want you can overwrite the steps by wrapping them
Julien Blanchard
@julienXX
Thanks I'll have a look :)
Gustavo Caso
@GustavoCaso
No problem
Jamie Gaskins
@jgaskins
@jdickey Re: assets, I wrote a gem called roda-opal_assets that lets you use Sprockets with Roda for asset dependencies. Not sure if you need something that involved or if the assets plugin is enough, but it's just become my go-to for all assets in Roda apps now (not just Clearwater apps) since Sprockets handles caching and fingerprints for cache invalidation.
Ghost
@ghost~545771cbdb8155e6700d0a6f

quick question
if I have

MODEL  = Model::Country

and Model::Country is a dry-struct entity, which have couple of attributes from Dry-Types
and some how, wrongly, instead of using MODEL.new for instance in our code we repeated Model::Country that thrown attributes already initialized error, is this normal ?

Aaron Jensen
@aaronjensen
Anyone know what happened to dry-schema?
Tim Riley
@timriley
@aaronjensen development hasn’t started in earnest yet