Read my latest article: 8 things I look for in a Ruby on Rails app (posted Thu, 06 Jul 2017 16:59:00 GMT)

RubyURL gets a few filters

Posted by Mon, 14 Mar 2005 16:11:12 GMT

heading to bed.. (finally)

A few people thought they were funny. heh

I’ll work on adding some better error checking tomorrow. I just happen to know how to do it quicker in PostgreSQL.

ALTER TABLE rubyurls ADD CONSTRAINT url_exclude 
CHECK ( 
    website_url !~ 'goatse' AND 
    website_url !~ 'rubyurl.com' AND 
    website_url !~ 'tubgirl');
Get help with your Rails project

comments powered by Disqus