Skip to content
autotelik edited this page May 21, 2012 · 2 revisions

Import command line tasks

 bundle exec thor datashift:import:excel -i db/datashift/project_data.xls -m MyActiveRecordProjectModel 

Example Config

You can configure default values for fields and also over ride values from a file for specific fields

Project: 
  datashift_defaults: 
    value_as_string: "Default Project Value"
    category: reference:category_002
  
  datashift_overrides: 
    value_as_double: 99.23546