That’s not a typo! It’s supposedly a programmer’s joke… something about recursion (no, of course the CSS dev wasn’t the one who came up with that, geez :P) :x
Big kudos to Moo who planned our first outing–dinner and a movie! ^^;
Kegan and Lee Ching
Kamal and Mai
Moo and Wendy
Sean
The food had excellent reviews (as seen by everyone’s big, happy, cheeky grins right after dessert):
Group picture! :)
Unfortunately, I am Legend had mixed reviews: the guys enjoyed it while I found the start to be quite a huge bore and the ending somewhat lackluster. Think literal crosseyed confusion as to what the heck just happened at the end…
For more pictures from the RSB Super Barty event (more yummy pictures of the food and shots of people taking pictures of other people), check out our Time Together entry on Facebook :)
Aizat missed it, but was there with us in spirit! We’re so hocking Ninja Jones when he comes back from Chile, eh? ;)
… namely the UI Developer: me.
I’m not even going into the Rails file structure. However, just know that if you want to make your Rails programmer’s life much, much easier (and to make sure they won’t pee in your shampoo, ever) put your files in the public folder. Needless to say, images go in the public/images folder and stylesheets in public/stylesheets. Simple, yes?
Okay, fluff aside and since sharing is caring, today I’ll be sharing the first three sexy lines of Rails code I picked up!
THE BASIC
What’s a UI dev without his/her stylesheet? So first thing’s first: call that stylesheet!
<%= stylesheet_link_tag 'style' %>
Rails is intelligent enough to know that your stylesheets are indeed stylesheets and they’re housed in the public/stylehseets folder without you actually having to specify! How nifty is that? :)
THE SIMPLE BITS
How linking works in Rails:
<%= link_to('RSB, holla!', 'http://blog.ror.com.my') %>
which is actually your
<a href="http://blog.ror.com.my">RSB, holla!</a>
FUN STUFF
Making those images prettier with image_tag
Because Rails is emazing at compacting code, your generic <img src="images/spiffy.png" alt="spiffy!" class="wrapper" /> now becomes:
<%= image_tag 'spiffy.png', :class => 'wrapper', :alt => 'spiffy!' %>
Alrighties, so we’ve gotten the easy part out of the way :) Next week we’ll dive a little into how partials and conditionals work! :) And no, it’s not rocket science, it’s Ruby magic!
p/s: It is secretly fun harassing Kamal for code logic! :P
There is absolutely no remedy, no miracle cure or fix for the climate-challenged central air conditioning in our building. Namely, we have air that is cold enough to leave you physically numb and braindead as you slowly witness work productivity grind to a complete halt right next to the big fat zero in stillframe motion and inevitably cause the nuclear meltdown outside to be a sanctuary for warmth.
Yesterday was just like any other indoor Artic day… except, THE INTERNET BROKE.
So today, we’re working from the comforts and regulated temperature of our own homes :)
Oh, and three guesses to who our provider is. Yeah, Screamyx.
I’m sure the furniture in our office counted their blessings since I didn’t have to make the call to find out what was wrong :) I would’ve rather cut myself and swan dive off the roof of our building (yeah, yeah with the bloodcurdling scream and what not) than talk to Streamyx’s customer UNsupport.
Of course, even after Kegan spent an unhealthy amount of time with the good folks who didn’t know what they were doing AT ALL… the internet was still down! Well yeah, because they made him unplug and replug some wires… while they earnestly prayed and secretly sacrificed little animals in TM’s headquarters in hopes the re-plugging would actually fix something, anything.
For times like these, there really needs to be a reboot button I can stab repeatedly that will magically restore the internet connection… or feed the hamsters powering the lines in TM’s basement.

