The sky really fell :(

As newly wed (sort ofimages) I missed a lot of action movies, last week was my time to catch up with some of them. Skyfall was my first, definitely was a very bad decision, why?
In my opinion that It seems that guy in Hollywood simply hate James Bond these days either consciously or unconsciously (May be because it is British or something) , they are actively ruining the character for the older fans by their over philosophication of the character.
James Bond was always about fast cars chasing, gadgets, pretty girls, fast actions. Taking the movie into more emotional side, dissecting his character and expose his childhood tragedy is just sad. It is really not what James Bond is all about. If I need to see a character complication and emotional tragedy there are other movies doing this job really good but not James Bond PLEASE.
With two fictional hero ruined for me this season (Iron Man was a total bust for me too) I’m not that excited about Man of Steel specially that he will face members of his own race (I can imagine now how things can go wrong)
Please Hollywood, don’t ruin comic heroes for us

Rails cycle through alternating css classes

In many places I needed to give rows in a table alternating classes, I was suprized that rails solved it using a simple helper method Cycle

<table>
<tr class="<%= cycle('even', 'odd', :name => "row_classes") %>">
    <td></td>
        .....
</tr>
</table>

The helper method can be used also to alter between more than two values

<table>
<tr class="<%= cycle('red', 'green', 'yellow') %>">
    <td></td>
        .....
</tr>
</table>

You can also get the current value in the cycle using the current_cycle

And you can reset the cycle value using the reset_cycle