Ather Shiraz wrote:
> I am trying to upload a 432 KB exe file to a column in mysql that is
> type blob . It can upload pdfs and rtfs and docs and but when I try to
> upload even a jpg which is barely 184 kb it gives the error  (data too
> long) why is that? 

Look the /db/schema.rb file. Maybe your camp is defined as string.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to