Skip to content

Instantly share code, notes, and snippets.

@apeckham
Created February 13, 2009 19:28
Show Gist options
  • Save apeckham/64057 to your computer and use it in GitHub Desktop.
Save apeckham/64057 to your computer and use it in GitHub Desktop.
Ignore some columns
def self.columns
ignored_columns = ["state_changed"]
super.delete_if { |column| ignored_columns.include?(column.name) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment