Sha256: 240360bbc1078c489bd8adfd10c5faadb7dc372b8e717c81954436fc8bd929a9

Contents?: true

Size: 196 Bytes

Versions: 15

Compression:

Stored size: 196 Bytes

Contents

# Extend original ransack adapter first
require 'ransack/adapters/active_record'

require 'ransack_ui/adapters/active_record/base'
ActiveRecord::Base.extend RansackUI::Adapters::ActiveRecord::Base

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ransack_ui-1.3.0 lib/ransack_ui/adapters/active_record.rb
ransack_ui-1.2.2 lib/ransack_ui/adapters/active_record.rb
ransack_ui-1.2.1 lib/ransack_ui/adapters/active_record.rb
ransack_ui-1.2.0 lib/ransack_ui/adapters/active_record.rb
ransack_ui-1.1.0 lib/ransack_ui/adapters/active_record.rb
ransack_ui-1.0.2 lib/ransack_ui/adapters/active_record.rb
ransack_ui-1.0.1 lib/ransack_ui/adapters/active_record.rb
ransack_ui-1.0.0 lib/ransack_ui/adapters/active_record.rb
ransack_ui-0.1.7 lib/ransack_ui/adapters/active_record.rb
ransack_ui-0.1.6 lib/ransack_ui/adapters/active_record.rb
ransack_ui-0.1.5 lib/ransack_ui/adapters/active_record.rb
ransack_ui-0.1.4 lib/ransack_ui/adapters/active_record.rb
ransack_ui-0.1.3 lib/ransack_ui/adapters/active_record.rb
ransack_ui-0.1.2 lib/ransack_ui/adapters/active_record.rb
ransack_ui-0.1.1 lib/ransack_ui/adapters/active_record.rb