Rails

GraphQL

Offset based pagination in GraphQL-ruby

Add offset based pagination in GraphQL queries to restrict the amount of data fetched by the query

Read
Rails 6

Rails 6 adds ActiveRecord::Relation#annotate

Rails 6 allow adding comments to the SQL queries generated by the ActiveRecord::Relation instance.

Read
Rails 6

Rails 6 adds delete_by, destroy_by ActiveRecord::Relation

Rails 6 adds delete_by, destroy_by methods to find and destroy/delete ActiveRecord::Relation records.

Read
Rails 6

Rails 6 adds negative scopes on enum

Rails 6 now by default adds negative enum scopes to filter records easily.

Read
Rails 5

Rails 5 Active Record attributes API

Rails 5 makes the attribute API public to converts the attribute value to an appropriate Ruby type.

Read