Rubanok

Services & Skills

Share on

We, Rails developers, tend to keep our controllers “skinny” (and models “fat”—oh, wait, it’s not true anymore; now we have “fat” services 😉).

We add different layers of abstractions: interactors, policies, query objects, form objects, you name it.

And we still have to write something like this when dealing with query params-based filters:

class EventsController < ApplicationController
  def index
    events = Event.all
                  .page(params[:page] || 1)
                  .order(sort_params)

    if params[:type_filter].in?(%w[published draft])

export const _frontmatter = {}
Author

In the same orbit

Explore more OSS projects

Contact us

We’d love to hear from you! We’re not really all that evil, and we love discussing potential projects, intriguing ideas, and new opportunities. Complete the form below or drop us a line at surrender@evilmartians.com.

Martians at a glance
16
years in business

A product development consultancy that works with startups and established businesses, while also creating open source-based products and services