Rails

GraphQL-ruby

Error Handling in GraphQL-Ruby

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

Read
GraphQL

Custom scalar in GraphQL-ruby

GraphQL-ruby has built-in scalar types. These may not always fit our needs, that when custom scalar types come to rescue.

Read
Rails

Add ActionText with Trix rich text editor to React

Rails 6 introduces a Action Text for rich text content and editing. To add Action Text to React you need to use Basecamp's Trix editor.

Read
Rails

Add Many monad to Active Support and Active Record Relation in Rails

Rails add Many monad to Active Support and Active Record Relation to ease the deep chaining on collection.

Read
Rails 6.1

Rails 6.1 introduces class_names helper

Rails 6.1 makes it easier to add conditional class names to the HTML element.

Read