If you're safe turning validation off when importing large data tables into Rails, then the savings can be spectacular. I've just created 40,000 records in 24 seconds ...
Garbage collection. That's what's slowing down your Rails application, says Nimble Method. They show us how to fix it. And it makes an even stronger case for using ar-extensions for bulk data updates. Plus a worked CSV import example.
Super-fast bulk data imports in Rails with ar-extensions
Here's how I reduced a bulk data-insertion task from over 10 minutes to around 1 second thanks to 'ar-extensions'. Together with a little rant on Rails documentation ...
Rails for the Enterprise: the Uninterruptible Application Supply
If we're serious about designing business-critical web applications, we need a fail-safe mechanism for when the web goes down. Here's a blueprint for what we need, and why Rails gives us almost everything we need. Want to get involved?
Enterprise applications: how do you cope when the web can't?
Recent reports suggest that the web may soon suffer from overload. While this may be political scaremongering, it highlights the need for enterprise-class web applications to have a fail-safe fallback if the web ever lets us down.
So you've been reading the manuals and learning all about the built-in Rails helpers. But what about all those empty helper files Rails creates for you. Are you using them? Here's how I got started, and how it's helped to DRY up my code.
Ever got annoyed with the way Rails truncates sentences in mid-word. Here's a neat solution from Daniel Morrison, showing us how not to leave our blogs looking like th...
A couple of RJS templates, a dash of Scriptaculous, and I've added little pop-up boxes for your comments on my Ruby on Rails-designed blog. This is how I did it. Test it out and see ...
Ruby on Rails offers three Boolean states: true, false and nil. Here's how I learned to distinguish between false and nil - and used it to check that all questions on a form had actually been answered ...
Why do business managers want to hang on to their trusty old spreadasheets, when we could offer so many glittering alternatives? But maybe they're right. And that's why we're planning support for spreadsheets right alongside our HR web database ...
You want to return to a previous page. The only thing is, which previous page of all the various possibilities. Here's how I track back in Ruby on Rails ...
'Skinny controller, fat model - that's how Jamis Buck tells us to write our Ruby on Rails code. I followed his instructions - and now look how easy it is to bulk-import new data with a rake task ...