A tiny Rails plugin that lets you use block syntax to specify multiple validations for a given field:
class Person < AR::Base
validates_presence_of :name
validates_field :bio do |of|
of.presence :on => :update
of.length :on => :update, :maximum => 140
end
# The above block is functionally identical to writing:
validates_presence_of :bio, :on => :update
validates_length_of :bio, :on => :update, :maximum => 140
end
Available now* here: http://github.com/kylebragger/validation_clusters
*Caveat: I haven’t gotten around to writing any tests for the plugin, as all testing was done before I extracted the code out of the application I originally wrote it for (and tested it within). But, you should write your own and submit them!
Hey folks,
A friend of mine is a Product Manager over at Answers.com, and she’s looking for people to do a quick usability study. The study is super easy (and the technology is neat, I’ll have to try this myself): you are given a task and shown a mockup of a web page. You then click on the part of the web page that would bring you closer to solving your task. That’s it.
Please choose one of the following groupings, then click all 3 links. Should take 5 minutes total.
Thanks!
Dave
—————-
Friend 1:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT-1
http://shaya.optimalworkshop.com/chalkmark/survey/U1-2
http://shaya.optimalworkshop.com/chalkmark/survey/QPT1-i-1
—-
Friend 2:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT-1
http://shaya.optimalworkshop.com/chalkmark/survey/U2-2
http://shaya.optimalworkshop.com/chalkmark/survey/QPT2-i-1
—-
Friend 3:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT-1
http://shaya.optimalworkshop.com/chalkmark/survey/U1-1
http://shaya.optimalworkshop.com/chalkmark/survey/QPT1-i-2
—-
Friend 4:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT-1
http://shaya.optimalworkshop.com/chalkmark/survey/U2-1
http://shaya.optimalworkshop.com/chalkmark/survey/QPT2-i-2
—-
Friend 5:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT-1
http://shaya.optimalworkshop.com/chalkmark/survey/U1
http://shaya.optimalworkshop.com/chalkmark/survey/QPT1-i
—-
Friend 6:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT-1
http://shaya.optimalworkshop.com/chalkmark/survey/U2
http://shaya.optimalworkshop.com/chalkmark/survey/QPT2-i
—-
Friend 7:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT
http://shaya.optimalworkshop.com/chalkmark/survey/U2-2
http://shaya.optimalworkshop.com/chalkmark/survey/QPT2-i-1
—-
Friend 8:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT
http://shaya.optimalworkshop.com/chalkmark/survey/U1-1
http://shaya.optimalworkshop.com/chalkmark/survey/QPT1-i-2
—-
Friend 9:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT
http://shaya.optimalworkshop.com/chalkmark/survey/U2-1
http://shaya.optimalworkshop.com/chalkmark/survey/QPT2-i-2
—-
Friend 10:
http://shaya.optimalworkshop.com/chalkmark/survey/HPT
http://shaya.optimalworkshop.com/chalkmark/survey/U1
http://shaya.optimalworkshop.com/chalkmark/survey/QPT1-i
—-
Just did this. Sort of. Someone should tell Answers.com the software they’re using to conduct these studies is pretty broken - two of the three links said something like “Task 5 of 3” and would redirect to the “Thanks for participating” screen after the first mockup was displayed, bypassing the other two screens in each study.
I will design + build it for you at half my normal hourly rate.
[to andy - I can’t email you if I don’t have your email address!]
Of the 50 most recent posts from each of the top 25 blogs in the Music Directory, only 4% are actually audio posts. I checked. The Tumblr Directory is ranked by Tumblarity. Tumblarity encourages quantity over quality. The one possible benefit I saw from Tumblarity is that it could potentially provide a valuable way to surface sites in the directory, but that doesn’t seem to be the case. The sites featured in nearly every category of the directory are there because they post an absurd amount of viral content like sensational photos, which boost their overall score. Few of them offer much value specific to the categories I’m interested in.
But I still like you, Tumblr.


