Forum: Ruby on Rails How to store (doc) file containts in Database (blob type)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
994fce1423e104ecd59fad58e740115f?d=identicon&s=25 manohar amrutkar (Guest)
on 2007-03-08 13:20
(Received via mailing list)

In my controller on Upload am trying to store file containts in table

@docfile = params[:article_file]

ArticleDetail is my model in which ArticleDetails is a BLOB data type

@articledetail.ArticleDetails =

but it doesn't store anything.

please tell the way how to do this?

This topic is locked and can not be replied to.