Skip to content

Commit 28d9282

Browse files
authored
Fix some typos (#4720)
1 parent cf3a5b7 commit 28d9282

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/ecto/repo.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ defmodule Ecto.Repo do
935935
>
936936
> ```elixir
937937
> Repo.start_link(name: :primary)
938-
> AnalyticstRepo.start_link(name: :analytics)
938+
> AnalyticsRepo.start_link(name: :analytics)
939939
>
940940
> # This works but may not be intended - queries will use AnalyticsRepo's connection
941941
> Repo.put_dynamic_repo(:analytics)
@@ -1738,7 +1738,7 @@ defmodule Ecto.Repo do
17381738
## Source query
17391739
17401740
A query can be given instead of a list with entries. This query needs to select
1741-
into a map containing only keys that are available as writeable columns in the
1741+
into a map containing only keys that are available as writable columns in the
17421742
schema. This will query and insert the values all inside one query, without
17431743
another round trip to the application.
17441744

test/ecto/changeset/embedded_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ defmodule Ecto.Changeset.EmbeddedTest do
156156
assert %Ecto.Embedded{related: Expanded} = NestedInline.__schema__(:embed, :expanded)
157157
end
158158

159-
test "nested inilne embed overwrites conflicting alias" do
159+
test "nested inline embed overwrites conflicting alias" do
160160
assert NestedInline.One.__schema__(:fields) == [:id, :name]
161161
assert NestedInline.OneNoPK.__schema__(:fields) == [:name]
162162
assert NestedInline.Many.__schema__(:fields) == [:id, :title]

0 commit comments

Comments
 (0)