Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 536 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 536 Bytes

Donate to charity: water via Gittip

ignorable

Ignore columns in ActiveRecord

Installation

Add this to your Gemfile:

gem 'ignorable'

Usage

class Topic < ActiveRecord::Base
   ignore_columns :attributes, :class, :meta_column_used_by_another_app
end

Rails Versions

Tested on Rails 3.2, Rails 4.1.0.

This gem is not needed on Rails 5.0 because an ignored_columns feature has been merged in rails/rails#21720