file uploads and display..

hello, im wondering if someone can point me in the direction of a
helpful resource/tutorial of how to upload images and then display
them.

I currently have a working script that uploads the image into the
database as a blob (mysql) and saves it as binary, im using send_data
to try and put the image inside the article on the view, but I
constantly get this undefined method `send_data' error.

Can anyone give me some tips on how this should be done, this area of
the website would usually be used for adding images to an entry or
adding small 600x600(maximum) images into a small gallery..

thanks!

also.. this is the code im using in my view file where the image would
theoretically appear..

<%= send_data( biography.userfileSource, { :filename =>
biography.userfileName, :type => biography.userfileMimeType,
:disposition => "inline" } ) %>