hackerschool/community — pull request #176 by zachallaun (2014-08-26 00:05:54+00:00)
Title: Release DB connection after calling define_attribute_methods

This seems to be taking up a database connection per-process that's not being checked back in. I believe define_attribute_methods is usually called in the context of a request, which means its connection would be checked back in by Rails when the request finishes.