サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
災害への備え
rubypond.com
Posted by glenn on Monday, March 31, 2008 Posted in rspec, testing Not everyone realises that that rspec havetag assertion is simply a wrapper for the Test::Unit assertselect. And even if you do, do you really know how powerful a tool it is? I’ve seen many tests and specs where people jump through a whole heap of hoops to check that the desired element exists, well no more! Fresh for today, a qu
Posted by glenn on Wednesday, June 18, 2008 Posted in optimization, activerecord, rubyonrails Apologies to all for the extended hiatus, I was in the US for a month on holiday; and then I just got lazy. Anyway, I'm back and plugging someone else's extension. I came across ActiveRecord Extension last night, and was quite frankly dumbfounded that 1) I hadn't come across it before, and 2) More peopl
In the previous articles I gave a brief glimpse at the upcoming scRUBYt! release. We learned how to do some basic html scraping, and then followed it up by scraping multiple pages. As promised, in this installment I’ll go over how to get more detailed logging output to help you debug your scraper while in development and how to submit and navigate forms. Logging Scraper Output There’s been quite a
There has been a few occasions over the previous months when various people I meet have asked me to point them in the right direction to get started with ruby on rails. I remember when I started, it was a pretty easy question to answer… everyone just got pointed in the general direction of why_’s poignant guide, the pickaxe book, and agile web development with rails. But things have come a long wa
Posted by glenn on Thursday, July 17, 2008 We wanted to push some long running tasks off to the background so that we didn’t tie up a mongrel needlessly. I’ve wrestled (and won!) with backgroundrb in the past, but it just seemed like a chore. And they’ve since changed the API enough to mean it would be back to the drawing board, so we may as well assess some of the other options. So without too m
Posted by glenn on Wednesday, July 16, 2008 I’ve been meaning to release this for quite a while now, I’ve finally got around to packaging it up for some form of public consumption. Basically, I got sick of having to manually create label tags for each of my form inputs. They should be there by default so that users with visual or other impairments have enough additional information to use the sit
Useful Flash Messages in Rails Posted by glenn on Friday, July 11, 2008 Inevitably somewhere in your rails app you display flash messages to your users to inform them that an action has (or hasn’t) taken place. Sometimes they need to provide more info, maybe you’ve just created some new information for them. Why make them sit around, or wonder where they need to go next when you can take them st
Posted by glenn on Monday, April 07, 2008 If you’re anything like me, you’re not a big one for shelling out needless money to host the various development sites your working on. That inevitably means you’ll end up with a whole host of small applications running on the one server, each needing a mongrel or two, and of course you want to make sure they are up and running. Thanks to the wonder that
このページを最初にブックマークしてみませんか?
『rubypond.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く