Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/ecto/repo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion test/ecto/changeset/embedded_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Loading