/arel-extensions

Adds support for missing SQL operators and functions to Arel

Primary LanguageRubyMIT LicenseMIT

Arel Extensions

Adds support for missing SQL operators and functions to Arel for ActiveRecord.

Installation

Add this line to your application's Gemfile:

gem 'arel-extensions', require: 'arel/extensions'

And then execute:

$ bundle

Or install it yourself as:

$ gem install arel-extensions

Usage

Just require 'arel-extensions' and use Arel/ActiveRecord as you normally would! arel-extensions extends ActiveRecord's query methods in both Arel and ActiveRecord.