our blog
our blog

Read our Ruby on rails articles on Selleo Blog

Essential RubyOnRails Patterns — Part 4: Form Objects

ruby on rails

Essential RubyOnRails Patterns — Part 4: Form Objects

Form Object is a very useful pattern in rails ecosystem as it can address variety of issues and antipatterns. In this article we will attempt to sort out in which situations Form Objects can prove useful and what conventions allow us to make most out of them.

Essential RubyOnRails Patterns — Part 3: Clients And Wrappers

ruby on rails

Essential RubyOnRails Patterns — Part 3: Clients And Wrappers

Clients and Wrappers (also referred to as “Facades”) are remarkably useful tools for working with external services, libraries or APIs. While both Clients and Wrappers are primarily used to facilitate usage of before-mentioned libraries or APIs, there are some significant differences in responsibilities each of these patterns have. In some cases a Wrapper can take over a Client’s responsibilities too

RubyOnRails Testing Antipatterns — Part 2/2

ruby on rails

RubyOnRails Testing Antipatterns — Part 2/2

In part 1 we have covered antipatterns related to stubbing and problem with implementation details that are a overcomplicated just for the sake of being super easy to tests. In second part we are going to focus more on tests themselves.

RubyOnRails Testing Antipatterns — Part 1/2

ruby on rails

RubyOnRails Testing Antipatterns — Part 1/2

When preparing our test suite we might be tempted to make some shortcuts that will render our tests less readable, comprehensible or will significantly decrease the flexibility of further implementation. Below, I try to list some of the most commonly seen techniques we should avoid to keep our test suite healthy.

An Opinionated Guide To Readable RSpec (part 1 of 2)

ruby on rails

An Opinionated Guide To Readable RSpec (part 1 of 2)

It is hard to underestimate a value and importance of automated tests. Creating confidence about if the code works the right way and thus enabling safe refactoring is just one thing. Another one is that test suite can act as a way to document behavior and also, especially when approached the BDD way, can drive the code design and architecture.

Essential RubyOnRails Patterns — Part 2: Query Objects

ruby on rails

Essential RubyOnRails Patterns — Part 2: Query Objects

Query Objects (also referred to as queries) is another pattern that helps in decomposing your fat ActiveRecord models and keeping your code both slim and readable. While this article is written with Ruby On Rails in mind, it easily applies to other frameworks, especially MVC based and applying ActiveRecord pattern.

Essential RubyOnRails Patterns — Part 1: Service Objects

ruby on rails

Essential RubyOnRails Patterns — Part 1: Service Objects

Service objects (sometimes referred to as services) is a holy grail in Ruby On Rails development that helps to decompose your fat ActiveRecord models and keep your controllers slim and readable.

Selleo Ruby On Rails Testing Practices

ruby on rails

Selleo Ruby On Rails Testing Practices

With Ruby on Rails as our primary backend technology, we have developed a set of practices for testing our applications. Our goal was to maximize the efficiency of writing tests that cover the most critical parts of the software built.

The Four Indicators Of A Healthy Ruby On Rails Project

ruby on rails

The Four Indicators Of A Healthy Ruby On Rails Project

Before starting development on a legacy project, we are often asked to do a quick review of its quality. Some projects are easy to analyze and the task just boils down to a look into a couple of classes, routes file, tests etc.

Rails Admin And Multitenancy

ruby on rails

Rails Admin And Multitenancy

Recently I started changing our single-tenant app into a multi-tenant one. Everything was going well until I stuck upon Rails Admin.

Rails And Subresource Integrity

ruby on rails

Rails And Subresource Integrity

You might have had an opportunity to verify if a file you downloaded is valid and authentic compared to the original one the process is called file verification.

Testing The User Perspective With Ruby On Rails With Kameleon

ruby on rails

Testing The User Perspective With Ruby On Rails With Kameleon

Thanks to a good combination of RSpec and Kameleon, we have managed to write an expressive end-to-end test as well as six supportive tests in no time at all.

Benchmarking Ruby On Rails Applications Tools For Load Performance Testing

ruby on rails

Benchmarking Ruby On Rails Applications Tools For Load Performance Testing

The choice of benchmarking tools is often a compromise between a number of factors such as: ease of use, features, and time needed to prepare and maintain a test suite.

    Contact image

    Contact Us

    Tell us about your project

    or

    Awards & Certificates

    reviewed on
    30 reviews
    • Top 1000 Companies Global 2021
    • Top Development Company Poland 2021
    HR dream team
    • 2020 HR Dream Team Award
    • 2016 Employer Branding Featured
    • 2015 HR Dream Team Award
    ISO CertificateISO Certificate
    • Information Security Management System compliant with PN-EN ISO/IEC 27001
    • Business Continuity Management compliant with ISO 22301

    © 2023 Selleo. Privacy Policy & Cookies