Archive for April 2007

Rails find :conditions

The Rails application I’m currently working on accepts URLs like: GET /submarks GET /submarks?lat=:latitude&lng=:longitude GET /submarks?lat=:latitude&lng=:longitude&user=:user_id GET /submarks?lat=:latitude&lng=:longitude&channel=:channel_id GET /submarks?lat=:latitude&lng=:longitude&channel=:channel_id&user=:user_id All query parameters are optional, only lat and lng have to appear together. On the Rails end, I have a Submark model with the attributes: lat, lng, user_id and channel_id. So how do you implement [...]

Missed it

Although I’ve been using Rails for some time now, I somehow missed out on DHH’s speach during lasts RailsConf. If you are working on CRUD or RESTful Rails applications (if you don’t, you should), and haven’t seen it yet, you are definitely missing out too! “Here, briefly, is an outline of the talk: Discovering Resources [...]

Year Zero Album

The new NIN Year Zero album CD has a really cool a thermal secret. It changes from black to white as it heats up in the CD player and reveals some binary code.

Payment/Credit Card processing

I’m currently working with four other students on a rails project for the ASE (Advanced Software Engineering) course at university, which also involves payment. We are still in the elaboration phase and have only started to look into different solutions, like PayPal, Google Checkout, Authorize.net, etc. So it came in quite handy that I stumbled [...]

Can Google Hear Me?

I had a hard time falling asleep last night so I read through a blog called Can Google Hear Me which I found on the digg frontpage. It’s written by Aaron Stanton who managed to pitch his business idea to Google, by asking for a meeting in a very creative way. He basically got him [...]