Better simulate AR syntax on stradivari_scope
Better simulate AR syntax on stradivari_scope

Before you had to

    stradivari_scope :foo do |*bar|
      where(foo: bar)
    end

now you can

    stradivari_scope :foo, ->(*bar) { where(foo: bar) }

so to change easily from AR `scope` to `stradivari_scope` without much ado.

Enjoy @jblackman @lleirborras @amicojeko @mojarra @amedeo

ifad/stradivari,ifad/stradivari