Projects showcase

Dato - Ruby on Rails library

The library to integrate Dato in your Ruby on Rails project

Made by Renuo AG
Project shots
dato-rails
Backend shots
dato-Rails
About the project

As a web agency specialized in Ruby on Rails, we needed to integrate Dato in many of our projects. From this need, we implemented a library to easily integrate Dato with Ruby on Rails.

To fulfil our commitment to Open Source, the library has been made available on GitHub for the community.

This project is a perfect showcase of our expertise with Dato: we do not just consume the service, but we understand it in deep and provide tools that makes it easy for everyone to work with it.

A big inspiration has been taken from the official vue-datocms integration. We rethought all the components in Ruby on Rails and used the wonderful ViewComponent library from Github to offer the same power to Ruby on Rails developers.

Easy GraphQL integration

Since we don't like to re-invent the wheel, we used an existing library (gqlib) to write your GraphQL requests towards Dato.

We make it very simple to navigate and write new GraphQL queries. You don't have to use a new language or write your queries differently from what you are used to. You can directly copy-paste GraphQL code.

Responsive images

Responsive images are one of the features we love the most about Dato and what we think is done exactly right. That's why the library offers full support for responsive images.

After using the pre-build GraphQL fragment to fetch responsive images, showing them on your website is as easy as render Dato::ResponsiveImage.new(responsiveImage).

Previews/Draft

Dato draft feature is essential for all our projects. The possibility of checking draft content before actually publishing is essential for our customers. That's why we have implemented full support for preview mode in the dato-rails gem. Dato::Client.new(preview: true)will give immediate access to the preview stage of your content and all the complexity is abstracted away.

Live updates

Another important feature that our library supports are Real-time updates.

We make it damn simple to use live updates on your Ruby on Rails project when using the library.

Made by
Swiss Software Development - Let us get your ideas done.
View profile »
Tags
DatoCMS Implementation
Ruby
Rails