Articles

Lots of new Rails 3 resources

I just wanted to point out to you that I’ve been updating the Rails 3 page daily. There are some great new links & resources added over the past week… including a link to an interview in which Yehuda Katz mentions a new Queuing system that will be baked into Rails 3. I’m getting excited!

New: Load Balancing service

Today, I’m pleased to announce the launch of our new Load Balancing service - which enables customers to distribute requests across multiple Brightbox virtual machines with ease.

It’s always been possible to create virtual load balancers from standard Brightboxes, but our new service now provides a simpler, more reliable and cost effective solution.

I18n translate interface plugin...

I came across a really cool plugin that has a web interface for translating I18n texts.

Download the translate plugin from github written by Peter Marklund.

In the routes.rb file add the following:

now visit /translate and you will have an interface for translating text.

Rails Envy Podcast - Episode #079: 05/21/2009

Episode 79. We mess up a lot but it's funny.

Rails Envy Podcast – Episode #079: 05/21/2009

Episode 79. We mess up a lot but it’s funny.

5 Tips to Scale Your Ruby on Rails Application

There are lots of resources on the web that explain how to scale web applications and how to scale Rails. Here’s a quick summary of just five of the basic strategies for a scalable Ruby on Rails web application. Some of them are specific to Ruby on Rails; others generalize to any shared-nothing application server architecture.

Watir – File upload code

Code

@banner_image=”C:\\raveendran.jpg”
$ie.file_field(:name, “banner”).set(@banner_image)

Watir – Handling FCK Editor

Code:

#Focus the Body
$ie.frame(:index, 1).frame(:name, “eEditorArea”).document.body.focus;
#Select all existing contents and delete it
$ie.send_keys(”{CTRLDOWN} a {CTRLUP}{DEL}”)
#Type the new content
$ie.send_keys(”Raveendran is a member of jazzez.”)
#click update button
$ie.button(:name, ‘update’).click

Nifty at 4300 how much more? Is it an end to the bear market?

Hey all
After a long time I am posting something about stock markets. The reason is everyone was bearish and no one was ready to listen to ne thing negative so I stopped posting. And thats 100% true. Now I am seeing people coming back (especially my friends who were trading aggressively in the last bull [...]

Questions Five Ways - Code Reading

When I came up with the idea of Questions Five Ways, I hoped to create some discussions of lasting value to programmers, posts that would stimulate some meaty discussion. I think this post has fulfilled my vision about as well as anything I could expect.I owe a big 'thank you' to the participants in this discussion: Steve Yegge, James Gray (@JEG2), Rick DeNatale (@RickDeNatale), Diomidis

Return from the Ruby Hoedown | Rails Fire

Return from the Ruby Hoedown

Jesse Newland and I are back from the 2009 Ruby Hoedown, the South’s regional Ruby conference. We both had a blast! The talks were all enjoyable and very informative, and we had an awesome time hanging out with folks like John Nunemaker, Steve Smith, Matt Todd, and many, many others.

It was great seeing all of you there who did come by and say “Hi” at some point this weekend—we hope you enjoyed the conference (and your spiffy lanyards!) as much as we did.

The talks that really stuck out out in my mind were those given by Ben Mabey (Writing Software, Not Code With Cucumber), Leon Gersing (couldn’t find a link to his slides, but it was on Appcelerator Titanium), and Jim Weirich (Source Control for People Who Don’t Like Source Control). The talk on threading in Ruby 1.9 was also really interesting—it’s definitely something we’ll revisit when more people are using 1.9 (ie. right around the release of Rails 3.0). The lightning talks were particularly amusing, both for the fact that they’re very impromptu and also because the speakers were given props to play with during their presentations. Anyone who was there can tell you all about the guy with the kazoo. All of the talks were very well done, and I’d like to thank everyone who did speak this year for doing a great job.

If you’d like to read up on specifics of the talks themselves, take a look at one of the first recaps I’ve seen posted or at the hashtag on twitter.

While Jesse and I had a blast at the conference, I think I can speak for both of us when I say that I’m glad to be back home, working on your rails machines to make sure you get the best experience possible.

Images: