Newbie problem: upload an image to filesystem

hi there,
i’m trying my first app in ruby on rails, but unfortunately i cannot
uplaod an image to the server and store the filename in a database. i
tried the fileColumn plugin and the imagemagick, but i don’t know how to
use them. can somebody please help?