Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow NotNullColumn to work with method calls
At the NotNullColumn if a method is passed as arguments for `add_column` an error is trigger. In this commit we check if the argument is a method and return it's name as a String. Fixes rubocop#997
- Loading branch information