Hi

you might want to have a look at my datashift gem 
(https://github.com/autotelik/datashift)

it provides import/export facilites between Excel and active record and 
also provides facilities for paperclip attachments

For example given a User model with photo attachment, you can provide a 
path to the image in a column and the importer will create a paperclip image
and attach to the parent User model

even if it doesn't exactly fit your needs you should be able to extract 
code to get you going. plenty of examples in the specs.

hope that helps

cheers
tom

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/5tpkCWKdJwUJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to