From: John Joyce Date: 2007-03-14T14:51:09+09:00 Subject: Re: Saving and retrieving pictures to a database with rails. Please be a bit more specific with your approach and the troubles. With any application, detailed requirements are important. Saving pictures to a database? Think of them as files saved in the database. binary blobs with names. With Rails or any other framework, a database needs planning. (the reason David Black gives SQL examples in Ruby for Rails, because you do need to be in control of the database. It defines and limits data structures. ) You want to think about your database. What tables and data types it needs, how they're related. There isn't one approach. table images column blob column id column other data On Mar 14, 2007, at 1:45 PM, Lucas wrote: > I'm developing an application that requires me to save pictures to a > database with other data. I've been searching for hours and tried a > few examples, but I keep running into trouble. Can someone recommend a > working example or explain what needs to happen to make this work. > Thank you. > >