No commit activity in last 3 years
No release in over 3 years
Find removed or typo columns defined in ignored_columns
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0
 Project Readme

IgnoredRemovedColumns

Installation

gem 'ignored_removed_columns', group: [:development, :test]

Usage

$ rake ignored_removed_columns:check
Found removed or typo columns defined in ignored_columns
--------------------------------------------------------
Post:
  - published
  - archivedd
$ echo $?
1

This means:

Post class defines published (maybe removed) and archivedd (maybe typo) ignored_columns, but the related table (commonly posts) does not have those columns. So, you can remove those from its ignored_columns.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/meganemura/ignored_removed_columns.

License

The gem is available as open source under the terms of the MIT License.