Skip to content

nthj/ignorable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Ignore columns in ActiveRecord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages