diff --git a/lib/ecto/repo.ex b/lib/ecto/repo.ex index 2cd90f7009..c99d5fabca 100644 --- a/lib/ecto/repo.ex +++ b/lib/ecto/repo.ex @@ -935,7 +935,7 @@ defmodule Ecto.Repo do > > ```elixir > Repo.start_link(name: :primary) - > AnalyticstRepo.start_link(name: :analytics) + > AnalyticsRepo.start_link(name: :analytics) > > # This works but may not be intended - queries will use AnalyticsRepo's connection > Repo.put_dynamic_repo(:analytics) @@ -1738,7 +1738,7 @@ defmodule Ecto.Repo do ## Source query A query can be given instead of a list with entries. This query needs to select - into a map containing only keys that are available as writeable columns in the + into a map containing only keys that are available as writable columns in the schema. This will query and insert the values all inside one query, without another round trip to the application. diff --git a/test/ecto/changeset/embedded_test.exs b/test/ecto/changeset/embedded_test.exs index 445a217763..5baf48438d 100644 --- a/test/ecto/changeset/embedded_test.exs +++ b/test/ecto/changeset/embedded_test.exs @@ -156,7 +156,7 @@ defmodule Ecto.Changeset.EmbeddedTest do assert %Ecto.Embedded{related: Expanded} = NestedInline.__schema__(:embed, :expanded) end - test "nested inilne embed overwrites conflicting alias" do + test "nested inline embed overwrites conflicting alias" do assert NestedInline.One.__schema__(:fields) == [:id, :name] assert NestedInline.OneNoPK.__schema__(:fields) == [:name] assert NestedInline.Many.__schema__(:fields) == [:id, :title]