malomalo / arel-extensions

Adds support for missing SQL operators and functions to Arel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Adds support for missing SQL operators and functions to Arel

License:MIT License


Languages

Language:Ruby 100.0%