1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Kevin Deisz 66b19b5dec
Allow #nulls_first and #nulls_last in PostgreSQL
When using PostgreSQL, it's useful to be able to specify NULLS FIRST and NULLS LAST on ordered columns. With this commit you can do that now, as in:

```ruby
User.arel_table[:first_name].desc.nulls_last
```
2019-12-31 15:59:59 -05:00
..
active_record Merge pull request #35023 from hahmed/deprecate-global-rails-command-docs 2019-12-27 16:39:55 -03:00
arel Allow #nulls_first and #nulls_last in PostgreSQL 2019-12-31 15:59:59 -05:00
rails/generators Ensure migration generator respects primary key config in references 2019-12-17 11:17:41 -05:00
active_record.rb Stop autoloading AbstractAdapter prematurely 2019-09-13 01:10:14 +01:00
arel.rb Fix unscoped grouped where 2019-11-21 17:27:26 -05:00