Rails

Rails 6.1

Rails 6.1 allows enums attributes to configure the default value

Before Rails 6.1 the enum default were configured on the database level but now Rails 6.1 allows to configure the enum defaults on the model.

Read
Rails 6.1

Rails 6.1 adds support for where with a comparison operator

Before Rails 6.1 to add comparison operators in where clause you need to use raw SQL notation. Rails 6.1 adds support for where clause with comparison operator.

Read
GraphQL

File upload in GraphQL-ruby using Active Storage Direct Upload

File upload in GraphQL is a tricky problem to solve. Solve the file upload problem using direct upload to Active Storage Rails.

Read
Rails 6.1

Rails 6.1 tracks Active Storage variant in the database

Active Storage reduces the latency by tracking the Active Storage variants in the database.

Read
GraphQL-ruby

Error Handling in GraphQL-Ruby

Error handling in GraphQL is a tricky problem to solve. Tricky but solvable.

Read