November 2006
3 posts
Using wrapper classes with ActiveRecord to enforce...
(This article is also posted here)
Here’s the model in question:
class Article < ActiveRecord::Bas
def self.search(query)
...
end
def title
...
end
# Columns include submitted and accepted
end
Articles can be submitted by users, and accepted by editors. We have controller namespaces for the public (when not logged in), users (when logged in), and editors (when logged in...
LDAP Server for ActiveRecord Models
(also posted here)
This daemon came about as an addon to a CRM application that we are developing for a client here at Thoughtbot.
I’m standing firmly on the shoulders of others for this one. Specifically, the Ruby LDAP Server, and this post on daemonizing ruby code.
Grab the source from our SVN repository (svn.thoughtbot.com/ldap-activerecord-gateway/).
Requirements
The only requirement that...
Dissapointment with Contractors
No, not that type of contractor… At thoughtbot, we’ve been planning and office makeover of sorts, which involves space planning, equipment planning, furniture selection, paint planning. In addition to painting, we’re also planning to replace and fix many of the light fixtures.
We’re finally past the planning stages, and into the implementation stage now, and I’ve been attempting to find...