Rails

GraphQL

Multipart file upload to Active Storage using GraphQL-ruby and Apollo

Learn how to setup your application to do multipart file upload to Active Storage using GraphQL-ruby and Apollo

Read
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