Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

DataMapper, an ActiveRecord replacement where I am one of the coders,uses the same Person[1] syntax. Check it out sometime: http://datamapper.org/



It's been part of Og for a while, perhaps from the beginning.

There seems to be some Ruby communal understanding that the use of [x] should follow Array-ish behavior, but when used with a class constant it's apparent that this is not simply an array, and that some other sort of indexing is going on.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: