Archive for June, 2008|Monthly archive page

Post workout drink

Here’s a recipe for a great post workout protein drink:

  • 500 ml milk
  • 1 banana
  • Oatmeal (more oatmeal = denser drink)
  • 2 scoops Muscle Milk

Flash video downloader

After searching on the net I finally found a great flash video downloader, its called Orbit Downloader. It has a download manager, detects flash videos on a webpage automatically and has a shortcut for downloading flash videos.

Rails to_xml method problem with Flex

I ran into a problem while trying to receive data form my Rails app and consuming it in Flex. The attributes were named first_name and last_name in my Rails app but I couldnt read them in Flex. I looked at the xml generated and realized that Rails changes the ‘_’ to ‘-’ by default. To avoid this run the to_xml method with to_xml(:dasherize => false) set to false.