RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How to Serialize an Array of Objects.

Hello everyone! I have been facing a problem. I have an object (class) named Note, and I have a global variable array of these objects named notebook. What I intend to do, is to make the notebook persist between sessions. I’ve tried Marshal but maybe it was all wrong. Please help. Here’s the link to the source.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in