Ruby on Rails Monday, October 3, 2011

How to save a text file to database by mysql.

If you've already got the information as a file and you're going to need it as a file in the future, then you should just store it as a file for later use.  There are a lot of gems that can help you with this sort of thing.  See: http://ruby-toolbox.com/categories/rails_file_uploads.html.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment