Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
/ ignorable Public archive
forked from nthj/ignorable

Ignore columns in ActiveRecord

License

Notifications You must be signed in to change notification settings

kitcheck/ignorable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donate to charity: water via Gittip

Fork from nthj/ignorable

The fork updates ignorable to be Rails 4.2 compatible

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, Rails 4.2.3

About

Ignore columns in ActiveRecord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%