Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

hkstar's latest activity

Wednesday, November 19 2008
23 Change Time.to_json to include subseconds was created in CouchRest
  • hkstar
    hkstar created the ticket at 7:07 PM

    Since CouchDB doesn't have any equivalent auto-incrementing id fields, discerning the order in which additions took place might be problematic if there is more ...

Monday, November 17 2008
21 basic validations and .valid? was updated in CouchRest
  • hkstar
    hkstar commented at 12:00 PM

    Here's a patch for a super-simple implementation of this. All it does is define a number of fields you want to check, eg.

    validate :name, :email

    And then refuse...

19 option for before(:init) was updated in CouchRest
  • hkstar
    hkstar commented at 11:22 AM

    Well, it can be as simple as http://friendpaste.com/nLYwTGq9, though you'll need to pass the hash directly (ie, not in an array like it is in the specs) for it ...

  • hkstar
    • Assigned user set to J. Chris A.
    by hkstar at 5:02 AM

    After further examination, it seems that what I wanted is possible with existing code. I had wanted to be able to generate random codes on init (not for _id) - ...

Thursday, November 13 2008
21 basic validations and .valid? was updated in CouchRest
  • hkstar
    hkstar commented at 6:35 PM

    So it seems the code formatting just does not work at all. Cool.

  • hkstar
    hkstar commented at 6:30 PM

    sorry, should have checked formatting before posting. Not that the code was particularly valuable, but still ..

    Let me give it another shot:

    @@@def validate_ess...

  • hkstar
    hkstar created the ticket at 6:27 PM

    I would love to see some (super-basic) validations support to replace the hacks I've come up with for the moment.

    What I am doing now is just making an array of...

Tuesday, November 11 2008
20 delete obsolete views was created in CouchRest
  • hkstar
    hkstar created the ticket at 8:09 PM

    CouchRest::Model's feature to automatically upload views listed in the model file is wonderful. However, after a while they begin to build up.

    How about an opti...

Friday, November 07 2008
19 option for before(:init) was created in CouchRest
  • hkstar
    hkstar created the ticket at 12:18 AM

    hi there,

    I would really like a way to set init values for a CouchRest::Model class. Currently we have before(:create, :method) which is nice but if used to run...

Wednesday, October 29 2008
17 Instatiating Couchrest::Model with nil vars half-succeeds was updated in CouchRest
  • hkstar
    hkstar commented at 10:18 PM

    Oops. Momentarily confused there due to tiredness. Face, palm, etc.

    Sorry for the noise! Will keep 'em coming.