The easy way to display this is to just store the binary data of the file.
So you'd have a blob column called image...
Model.create( :name => 'john', :image => File.read("/Path/To/Image/File/john.jpg") )
Check out Uploading files to a database using Rails – Matt Berther for some image handling tips.