I'm trying to write a rake file to import data from csv, and I want to use smarter_csv gem. I have the gem installed globally (I don't want to add it ...
I'm trying to write a rake file to import data from csv, and I want to use smarter_csv gem. I have the gem installed globally (I don't want to add it ...
I am using Smarter CSV to and have encountered a csv that has blank lines. Is there anyway to ignore these? Smarter CSV is taking the blank line as a ...
The SmarterCSV wiki page for Basics says that it's possible to retain blank strings for columns that don't have any data (consecutive commas), but I c ...
I'm currently using the smarter_csv gem to import data from CSVs to my Rails application. Ideally, I'd like to access the columns imported by number i ...
I am trying to use Resque and SmarterCSV but keep seeing the same error: undefined method 'close' for nil:NilClass in my resque logs. I'm not ...
I'm trying to save the info of a csv that have unicode characters into mysql on a Rails app, The code error says: TypeError in ImporterController#up ...
I have this csv structure When I import the file through smarter_csv gem I get this hash The code I use is the following What puzzles me is t ...
I created a rake task for import a csv with smarter_csv gem. Throws the following message, i added the entire error code if it helps: This is the ...
I'm trying to upload a csv file with a lot of posible clients (15000) on a MySQL table. I want to keep on a table for later retrieve info, complete fo ...
The following is the code i have used. I am not able to delete the rows from Main.csv, when the value of "name" col in Main.csv equals to the value of ...
Is there anyway for me to migrate mailbox from cpanel mail to smartermail? I've google regarding to this issue but do not find any clue of how to do ...
I'm parsing a CSV and trying to distinguish between columns in Model and "virtual" columns that'll be added to a JSONB :data column. So far I've got t ...
In my app I have a model called Address. The address field therein is the only required field, but the model can have any number of different other at ...
Okay, I know this is a bit of a simple question, but I can't seem to get it to work. I have installed the SmarterCSV gem in my Rails 4 app and am tryi ...
I want to open a csv file using SmarterCSV.process The problem is that the data is not read and this prints: However, if I attempt the same thin ...
I am trying to create a Ruby file that extracts data. I seem to run into an issue as the provided CSV files don't have headers attached. So, I am tryi ...
I have a CSV file that I'm trying to process with smarter_csv in Ruby. Every field has double quuotes and there are some fields that have double quote ...
I hit a roadblock here and need help. I want to be able to import csv file to my Active Record. Either with SmarterCSV or some other way Here is my d ...
I want to use smarter_csv gem, but when I write in my code require "smarter_csv" it gives me error message below: /System/Library/Frameworks/Ruby ...
I have been using SmarterCSV to convert bed format file to csv file and changing the column names. Now I have collected several CSV files, and want t ...