1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Ryuta Kamizono
096719ce2a Move where from TreeManager to SelectManager
`TreeManager` is inherited by `InsertManager` but `where` on
`InsertManager` doesn't work.

And also, remove `@ctx` since the instance variable is used only for the
`SelectManager`.
2021-03-15 23:50:44 +09:00
Ryuta Kamizono
333f9b32d9 Allow statement nodes' initializer takes a table
Follow up to #41579.
2021-03-05 02:43:55 +09:00
Ryuta Kamizono
e27063af3a Allow all tree managers' initializer takes a table
Currently `SelectManager` takes a table (it was happened at 80ad95b),
but other managers does not, even though it is required to generate a
query.

I think that all tree managers' initializer could take a table, like
`SelectManager` already does.
2021-03-01 20:47:23 +09:00
Ryuta Kamizono
187870db2f Get rid of Arel::Nodes::Values
That is completely covered by `Arel::Nodes::ValuesList`.

Related https://github.com/rails/arel/pull/484.
2019-03-18 03:57:16 +09:00
Matthew Draper
354f1c28e8 Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
Matthew Draper
4c0a3d4880 Arel: rubocop -a 2018-02-24 17:16:13 +10:30
Matthew Draper
17ca17072d Merge Arel into Active Record 2018-02-24 17:15:32 +10:30