Josef Šimánek
Josef Šimánek
There are alternatives like https://github.com/arielj/vanilla-nested as well. Cocoon is just one solution for the problem based on jQuery and heavily opinionated (at least in my :eyes:).
Hello! :information_source: I'm not Aaron Patterson (even I dream about that sometimes :smile:), but I tried to port `with` to active record (for now without recursive support). I hope it...
I have found out the problem with delete_all/update_all and fixed it in my pull request. It needs to patch some Arel classes. I'm not sure if it is worth it...
@jtarchie yes, still waiting for rebase.
It seems CI was disabled (looking at https://github.com/banister/debug_inspector/actions/workflows/test.yml). Any chance to revive it?
If I understand it well, CI is running in Docker image based on Debian 11 and installing Sqlite3 using system package. https://packages.debian.org/bullseye/sqlite3 Currently it is using `3.34.1-3` version.
:thinking: To keep it in pair with LOWER it will probably need `upper` method in `Arel::Attributes::Attribute` class as well to be able to use it similar to `User.arel_table[:id].lower`. https://github.com/rails/rails/blob/76b0ef8d00e3d824c42f3b71319edc15e7aa7a3e/activerecord/lib/arel/attributes/attribute.rb#L18-L20 Anyway...
> If arel is private, what is the expected approach a Rails project should take to safely write SQL? Using string building may result in unquoted columns that collide with...
I did one take on this already at https://github.com/rails/rails/pull/45612, but there was no interest :(.
> @casperisfine so I created another PR #45921 sweat_smile Too much commits for rebase upside_down_face Why? It was enough to force push in here.