Skip to content

sgrif/pgcrypto_ransack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PGCrypto Ransack

This gem extends PGCrypto to work with Ransack.

Installation

Add pgcrypto_ransack to your Gemfile after pgcrypto.

gem 'pgcrypto'
gem 'pgcrypto_ransack'

Usage

Call ransack with the column name as you would, normally.

class MyModel < ActiveRecord::Base
  pgcrypto :my_column
end

MyModel.search(my_column_eq: 'value').result

About

Adds support for ransack to pgcrypto

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages