We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I didn't mess around with this, so maybe you can map this in some way, but it would be nice if you can import with no headers.
The text was updated successfully, but these errors were encountered:
You can pass options to copy_from. A header of false will skip headers.
copy_from
header
false
For example:
Customer.copy_from 'file.csv', header: false, columns: [ :name, :age, :date_of_birth ]
Sorry, something went wrong.
No branches or pull requests
I didn't mess around with this, so maybe you can map this in some way, but it would be nice if you can import with no headers.
The text was updated successfully, but these errors were encountered: