Saving an array

Is there any way to save an array to a single column within a database? I have an array of coordinates that are within an array.

you can flatten the array into a string via Marshal.dump (and use Marshal.restore to get it back). If you prefer to have "clearer" information in your db, then you could use to_xml or to_yaml, but it will take you a bit more to restore it than using Marshal.


javier ramirez