Blog

Read about our day to day discoveries, the trips we take around the world, our personal developments and news about the things we do at Manas.

of reading time across 172 blog posts

  • Introduction Disclaimer: this section is just happy talking, if you want to get right to the beef, skip it and go right to the beef. Yesterday was a sad day for me. It wasn't meant to...

  • Many times we end up having similar tests: same logic but different inputs and expected outputs. For example, suppose we need to test our brand new sqrt function: test "sqrt 1" do assert_equals 1, sqrt(1)...

  • On the previous post I wrote a few lines on the basic usage of the accepts_nested_attributes_for method in rails models. I strongly recommend reading that post before this one if you haven’t. Although there is...

  • Mar 3 2010
    Status Update

    It’s been a while since the last time I wrote something here. I realize I’ve promised several posts which never got written, such as some experiments with bizarre random number generators, the architecture of the silverlight DynamicDeepZoom...

  • Rails makes it easy to build HTML forms associated to a certain model. Simply using the form_for instruction on the view, writing a simple update method in the controller and setting validation logic on the model, makes standard CRUD...