December 2007
3 posts
Crafty
Letterform had a holiday craft fair. Broadstreet Designs (Sara Broadstreet) was there selling jewelry. Emily Alt was selling the most amazing salty-sweet brownies that went great with the coffee and hot cider served by Julie and Andy of Letterform. I Love Pink Dots (Tiffany Paige) was selling her stuffed cats and screen-printed kitchen towels. Compute Computer (Michelle Eatough) was selling fun...
Dec 18th
A leetle issue
So I recently figured out why I’ve had problems in the past using the findBy… dynamically created method in cakePHP’s model class. I was updating podi-notes, a podiatry website I’ve been working on, and noticed that when I uploaded it to the server, the $this->User->findByOpenidUrl() command I was using stopped working. The field for the user’s OpenID is called “openid_url” in the users...
Dec 6th
Validate uniqueness in cakePHP
I was talking to Matthew Pennell about his new RoR hobby and he was saying that one little bit he appreciated was how easy rails makes it to validate_uniqueness. I tried to add a unique method to the cake validation core, but the level of separation between the Model & the validation classes was beyond me. So….here is the code for your model: var $validate = array( 'email'...
Dec 3rd