That syntax was fully deprecated ~5 days ago. Maybe you are not on latest
master?


On Wed, Oct 9, 2013 at 11:06 AM, 0xAX <notifications@github.com> wrote:

> In lib/ecto/migrator.ex:
>
> > @@ -26,4 +26,75 @@ defmodule Ecto.Migrator do
> >    def down(repo, version, module) do
> >      repo.adapter.migrate_down(repo, version, module.down)
> >    end
> > -end
> > +
> > +  def run_up(repo, directory) do
> > +    all_files = :filelib.fold_files(directory, ".", true, fn(f, acc) -> [f | acc] end, [])
> > +    all_migrations_files = Enum.filter(all_files, Regex.match?(%r"\d+_.+\.exs", &1))
>
> hmm.. i use Elixir 0.10.3-dev it compiles successfully
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/elixir-lang/ecto/pull/85/files#r6850453>
> .
>



-- 
Eric Meadows-Jönsson