OpenStruct Tip 3

Posted by yrashk

If you are using OpenStruct to mimic some objects (like I do) and rely on object’s ID (that could be important for ActiveRecord programming, or when you’re using Basecamp.rb, for example), then you’ll find this useful:


class OpenStruct ; undef id ; end
Comments

Leave a response

  1. skyrSeptember 14, 2006 @ 06:13 AM

    this is somewaht offtopish, but how can i reach this XI project of yours? All the links result in “Page not found” displayed.

  2. Yurii RashkovskiiSeptember 14, 2006 @ 06:24 AM

    skyr, do you need something specific from it? If yes, drop me an email to yrashk at gmail, or if you are interested in a whole archive of XI, I could either try to spend some time to bring it back online or send it by email.

    XI is not dead at this moment, but suspended until I’ll have more spare time.

    Thank you for your interest, Yurii

  3. skyrSeptember 14, 2006 @ 06:30 AM

    Oi, thanks for answering fast! Could we talk on that freenode #xi channel of yours? That would be faster than posts.

    As of XI – I’m interested in the whole project, no specific parts.

Comment