Articles

YUI Datatable deleteRecord in v2.2.1 broken

While trying to have delete feature for one of the YUI Datatable implementations, I was facing a weird problem where deleteRecord of RecordSet was not working as expected.

evalScripts option in Ajax.Updater not appending javascript function to the current page

I have a view partial that gets displayed on the current page when I click a link which triggers an Ajax.Updater request.
Now the view partial that I add dynamically has following javascript function defined in

Playa del Carmen

Vacation

I haven't been around to add to the blog for a while, I was on vacation with my family. I just couldn't pull myself away from the warm sunny tropical beach to fiddle around with the hotel's internet connection and spend time on a post or two.

Locking down The Move

So, after a couple months of trying to figure it out, it looks as if my move to the Austin area is finally starting to take shape.

A week or so into July, we start the exciting trip southeast – this time trading in the normal drive through thrill-a-minute Kansas for the post- apocolypsesque terrain of West Texas.

Large Mephisto Deployment

Automated Testing of web applications

So the better half of me(no, I am still single!), the tester has woken up and here are some random thoughts about automated testing tools.

Coming from an Automated Testing background, I always find it interesting to try out new automation testing tools. I have used Rational Functional Tester, SilkTest, Rational Robot. Recently Watir and Selenium was also added to my Automated Testing skills.

Past

Long Hiatus

My last post was on 26 March 2007. Its been 78 days since I haven't posted anything.. Its not that I don't have anything to write, my schedules off late have been keeping me off blogger.
There are so many things to write about that I have experienced and learned in last 2 months. I will try to cover some of those things in my coming posts, so stay connected.

Learning Ruby

An Introduction to Ruby

Ruby is a pure object oriented scripting language that runs on most personal computer operating systems including Windows, Linux, Mac OS/X, and BSD. Ruby also runs on most commercial Unix based operating systems as well. Ruby was created in 1995 by Yukihiro Matsumoto, usually referd to as "Matz".

RailsConf Recap: Named Callbacks

Another topic we touched briefly on at RailsConf was the idea of named callbacks.

Consider this snippet (also from Brian Cooke’s expense tracking application):

Ruby Yield

Yield is one of the most powerful concepts implemented in the Ruby programming language. Yield lets you branch from within a method and execute some external code, then return to the original code in the first method.

What's so special about yield in Ruby? You could get the same branch and return flow by just executing a method call in java, or a function call in C.

Heck, COBOL's PERFORM verb implements branch and return behavior. So what's up with yield?

Ruby on Rails | Rails Fire

Ruby on Rails

Meet the Command Line

by Dan Benjamin, System Developer of A List Apart.
Bonus PDF by Casimir Saternos.

This screencast is for you if you’ve never used the Unix command line, or are learning it for the first time. (If you have, skip ahead to Advanced Command Line).

#324 | »The Ruby Toolbox« in Category Learning/Help/Support

»Improving the Usability of Your Ruby on Rails Applications (video)«

jschat

The QuiteUseful guys: Alex Young, Kevin Ford, Simon Starr and me (although I must admit my input on this project has been pretty minimal so far) have been working on a simple open source realtime chat protocol based on JSON, called jschat.

RailsConf 2009 Gives Practical Tools for Success: Deeply Technical Sessions Fill Days Dedicated to Rails

Sebastopol, CA, May 26, 2009 — RailsConf 2009, the annual event for the Ruby on Rails community held May 4-7 in Las Vegas, gave new and experienced Rails users practical tools for staying agile and competitive in an industry being transformed by fast-paced innovation. For four intense days, developers engaged directly with more than 100 expert speakers, learning how to exploit the popular framework’s newest features to solve problems and build businesses.

Blocking an IP with iptables

istock_000000152791xsmallEarlier today, I noticed a bunch of weird requests to one of my Rails apps. I’m not sure what their intention was but I didn’t want to take the chance since the IP traced back to somewhere in China which meant if something went bad, I’d have little recourse.

Rails Envy Podcast - Episode #080: 05/27/2009

Episode 80. Gregg sneezes on my dog in this episode. How messed up is that?

Rails Envy Podcast – Episode #080: 05/27/2009

Episode 80. Gregg sneezes on my dog in this episode. How messed up is that?

#323 | »Top 50 Ruby on Rails Tutorials« in Category Other collections

»Improving the Usability of Your Ruby on Rails Applications (video)«

#322 | » 31 Fascinating Ruby on Rails Tutorials & Guides« in Category Other collections

»Improving the Usability of Your Ruby on Rails Applications (video)«

#321 | »5 Tips to Scale Your Ruby on Rails Application« in Category Performance

»5 Tips to Scale Your Ruby on Rails Application«

Syndicate content
Ruby Tuesdays: RBP Chapter 6 | Rails Fire

Ruby Tuesdays: RBP Chapter 6

Send to friend

If you’re reading this blog, you probably know that the Ruby Best Practices book exists. Even if you haven’t read it, you might have a sense for the sort of topics we cover based on the content you’ve seen on this blog. But now, everyone is going to get a chance to read RBP the way its meant to be read: as a conversation.
Progress To Date
We’ve already released the first five chapters, and discussion has been great. Be sure to check out these previous posts if you haven’t already:

These discussions should give you a sense of the wide range of ideas our readers have been sharing as a result of this ongoing book study.
How To Read RBP
Readers are encouraged to fight RBP as they read it, rather than just soaking up the information. Although I claim this book is about “Best Practices”, the only reason that is true is that it’s a result of countless conversations with folks who are deep in the Ruby trenches getting stuff done. The only way for RBP to remain current and relevant is to continue these discussions, using its content as a jumping off point for fresh ideas.
Today’s Topic
This chapter on what to do “When Things Go Wrong” turned out to be one of the most enjoyable ones to write. Having a strong ability to troubleshoot and debug code is a powerful skill to have, and I do my best to share all my secrets here.
Go ahead and download Chapter 6 now. You’re encouraged to participate in the discussion here once you’ve had a chance to play with some of the ideas from the book. Don’t worry if it takes you more than a few days finish reading it, you can come back and comment any time.
Enjoy, and come back next Tuesday (2010.03.09) for Chapter 7, “Reducing Cultural Barriers”, which covers multilingualization (m17n) and localization (L10n) techniques.
For Your Consideration
O’Reilly is being really nice to me by letting me give away my book, especially considering that I haven’t quite cleared my advance yet (though I’m getting closer now, finally!)
If you like what you see, please consider buying the book. You can get it directly from the publisher or via amazon. I imagine that seeing decent sales numbers will encourage O’Reilly to keep moving towards making their content openly available, which would totally rock.
For those wishing to do interesting things with this material, note that it is released under the Creative Commons NC-SA license. This will become immensely more useful once the source documents for the manuscript are posted in late March, but if you’ve got any questions at all about this, you can ask me, and I’ll ask my publisher, and we’ll get back to you.