Sha256: 8305ca79a10c59f5e5752a1c44f27e8f21962cdc8adb77f8fdc36ee1023a2e19
Contents?: true
Size: 250 Bytes
Versions: 4
Compression:
Stored size: 250 Bytes
Contents
module PersonName::MigrationSupport def person_name(name, *args) options = args.extract_options! name_parts = PersonName::Name::NAME_PARTS name_parts.each do |part| column("#{name}_#{part}".to_sym, :string, :null => true) end end end
Version data entries
4 entries across 4 versions & 2 rubygems