Diogo Biazus

Results 56 comments of Diogo Biazus

@ppfp I'm not currently using this code, but if someone provides a failing spec I'd be glad to fix it.

@eric-khoury have you used the option to specify the columns as in the README example: ``` User.copy_from "/tmp/users.csv", :map => {'name' => 'first_name'} ```

@NathanielGiron the encoding options is not exposed. It's a simple code change in case you want to give it a shot at a PR. You can also try to set...

Actually this brings to my attention a problem with the interface defined by this gem, a simpler class that takes a database connection and the copy parameters would be a...

@nfedyashev thanks, this are good points. I haven't worked in this project in a while, but I'll keep this issue open to keep it in mind for future work. Having...

Sorry, I don't follow you. Could you paste a snippet of the desired code that you would like to use?

I see your point. It makes sense to have symetrical APIs on exports and imports.

That is true, I still want to rewrite the responder. But I have no ETA for that.

I'm marking this as an enhancement. It's not a hard change, if anyone would like to send a pull request this is possibly an easy one. There is already an...

The thing is, I don't have a JRuby env to test the gem, but I believe it could work with a JDBC adapter and some tweaks in the code. Beware...