27 Feb '17, 9am

Rails ActiveRecord Relation (Arel), composition and Query Objects

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found! Rails ActiveRecord Relation (Arel), composition and Query Objects by Tomas Valent — Today http://www.eq8.eu/blogs/38-rails-activerecord-relation-arel-composition-and-query-objects Ruby on Rails ActiveRecord::Relation (or Arel) is really handy tool to create complex SQL calls. In this article I’ll show you several tricks I’ve came across over the years and show you how to combine them to Query Objects and Query Interfaces Post a comment You can use basic HTML markup (e.g. <a>) or Markdown. Authenticate with GitHub As you are not logged in, you will be directed via GitHub to signup or sign in

Full article: http://www.rubyflow.com/p/ay3lr9-rails-activerecord-relat...

Tweets

#tips de #programacion Service Objects in Ruby ...

dev.to 01 Mar '17, 12am

We have all been there when you see your controller action getting way too long and hold too much business logic. You know...

active_enum (1.0.0.rc1): Define enum classes in...

rubygems.org 05 Mar '17, 9pm

RubyGems.org is the Ruby community’s gem hosting service. Instantly publish your gems and then install them . Use the API ...

“ActiveRecord::QueryMethods” https://t.co/cKQuM...

api.rubyonrails.org 25 Feb '17, 6am

Returns a chainable relation with zero records. The returned relation implements the Null Object pattern. It is an object ...

Your Keywords Are Not What You Think: How Googl...

link-assistant.com 28 Feb '17, 1pm

Let's try and see how the actual refinement process works on the "oscar" example. When you type in "oscar" in Google, it w...