Hi,I am trying to commit files uploaded by my user to GIT using 'grit' but can't figure out how to achieve this. My file is stored in an 'upload' object. I tried 'upload.commit' but this doesn't work. I'm guessing it's because the 'upload' object is a hash, which means I was trying to commit the hash.
The model I'm using for this is attached. Any help would be great. Also if anyone can recommend any GRIT documentation/tutorials that would be useful, as I can't find very much info out there.
Thanks, Jen. -- 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]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
data_file.rb
Description: application/ruby

