November 2009
4 posts
4 tags
Ain't no calla back girl
Factory Girl now has callbacks thanks to Nate Sutton (a.k.a. fowlduck).
There are three callbacks respectively called after Factory methods you already know:
after_buildFactory.buildafter_createFactory.createafter_stubFactory.stub These come in handy in a number of common use cases.
Basic has many associations
Models:
class Article < ActiveRecord::Base
has_many :comments
end
class...
1 tag
Giving everybody their time with the toad
Our little toad has grown up to be quite the bullfrog. Atticus always hops at the opportunity to catch a new error, but from time to time we’ve experienced floods of incoming errors from a single project, often thousands per minute. We’ve occasionally had to disable such projects, but we’ve never had a policy regarding the number of errors each user could submit. However,...
After 35 Robot Years, The New thoughtbot.com Is...
We’re pleased to announce the brand new thoughtbot.com web site!
A short while ago, Ralph informed us that he wanted his home on the web remodeled and we felt we owed it to him. It’s been about 2.5 human years since the last update, and he was starting to ask about the cobwebs. The previous website has served us well, reflected our brand well, and received almost entirely...
New Hoptoad API and development error tracking
Development Error tracking
Have you ever wanted Hoptoad to tell you whether or not a development exception has occurred in production? Now it can!
When an exception occurs in the development environment and you have the Hoptoad plug-in installed some JavaScript is quietly inserted into the page. Once the page is fully loaded it will send the details to Hoptoad asking if a similar exception...