topac/codice_fiscale — pull request #1 by cedum (2014-12-12 15:08:26+00:00)
Title: CodiceFiscale::Helpers.intersection#L5 "conflicts" with ActiveSupport Array.split method

In a Rails app `string_or_array_b.respond_to?(:split)` returns true when an array is given (see line 5). This is because Active Support extends Array object with a `split` method.

I've also refactored the `intersection` method a bit :)

Dumitru.