3 ms·
ActiveRecord supports lots of stuff through arel (https://github.com/rails/arel https://github.com/rails/arel). Are you sure you understood how to use the full
by joevandyk 12y ago
ActiveRecord supports lots of stuff through arel (https://github.com/rails/arel https://github.com/rails/arel).
Are you sure you understood how to use the full functionality? What was missing (besides CTEs)?
- rafekett 12y agomaybe this has changed, but arel's documentation last time i used it was about as good as the rails documentation, so it was wildly incomplete/inaccurate. for example, last week I wanted to a bulk INSERT. maybe arel can do this (though I highly suspect it cannot since this isn't a part of relational algebra at all), but that's kind of worthless if i can't find any evidence of how to do it without reading the arel source.