Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing column object to to Proc. #73

Merged
merged 1 commit into from
May 22, 2018
Merged

Allow passing column object to to Proc. #73

merged 1 commit into from
May 22, 2018

Conversation

stas
Copy link
Contributor

@stas stas commented May 21, 2018

This allows mapping of arbitrary fields based on the original column name.

See #48

A real-world issue I have to deal with is illustrated in the tests. Basically having a set of fields we want to match to a JSON(B) attribute requires the original column name information.

@pcreux please take a look when you have a chance.

Thanks a lot! 🙇‍♂️

This allows mapping arbitrary fields based on the original column name.
@pcreux
Copy link
Owner

pcreux commented May 22, 2018

@stas This is great! Thank you!

@pcreux pcreux merged commit f12fcdf into pcreux:master May 22, 2018
pcreux added a commit that referenced this pull request May 22, 2018
@stas
Copy link
Contributor Author

stas commented May 22, 2018

@pcreux, thanks for your work on this project! ❤️

@stas stas deleted the pass_column_to_procs branch May 22, 2018 19:27
artur-bobrushko pushed a commit to artur-bobrushko/Rails-CSV-importer that referenced this pull request Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants