Explore how we use Ruby on Rails to power modern applications. In this category, you'll find posts that share practical guidance, tips, and strategies drawn from years of hands-on experience with Rails projects.
At OmbuLabs, we recently had the opportunity to develop a Discord bot
opens a new window
from scratch. We found the experience both rewarding and insightful, prompting us...
Configuring your Rails application can be tricky. How do you define secrets? How do you set different values for your local development and for production?...
When working with complex forms, it’s really easy to immediately start adding JavaScript to implement non-common behaviors. But there are some hidden gems in the...
Rails UJS
opens a new window
(Unobtrusive JavaScript) is the JavaScript library that helps Rails do its magic when we use options like remote: true for...
Devise
opens a new window
is a well known solution for authentication in Rails applications. It’s full featured (it not only adds authentication but also password recovery, email...
Ruby is an object oriented language where everything is an object (even methods are objects of the class Method
opens a new window
!), so everything we need to...
Service Objects are a controversial idea for several different reasons: some developers like to use them, others like to use similar patterns, and some think...
At OmbuLabs, we recently had the opportunity to develop a Discord bot
opens a new window
from scratch. We found the experience both rewarding and insightful, prompting us...
Configuring your Rails application can be tricky. How do you define secrets? How do you set different values for your local development and for production?...
When working with complex forms, it’s really easy to immediately start adding JavaScript to implement non-common behaviors. But there are some hidden gems in the...
Rails UJS
opens a new window
(Unobtrusive JavaScript) is the JavaScript library that helps Rails do its magic when we use options like remote: true for...
Devise
opens a new window
is a well known solution for authentication in Rails applications. It’s full featured (it not only adds authentication but also password recovery, email...
Ruby is an object oriented language where everything is an object (even methods are objects of the class Method
opens a new window
!), so everything we need to...
Service Objects are a controversial idea for several different reasons: some developers like to use them, others like to use similar patterns, and some think...
When working on a Rails project, you may have seen present? calls on ActiveRecord relationships. This might feel natural, mostly because <code class="language-plaintext...
When writing tests for services, you may sometimes want to use mock objects instead of real objects. In case you’re using ActiveRecord and real objects,...
Sessions provide you a nice little data storage feature where the application does not need to get the information directly from the database. So you...
Recently, we started using Skylight
opens a new window
in production for one of our clients’ Rails applications, in an attempt to try to improve the performance of...