Monday, May 28, 2007

subdomains with account_location plugin




One critical piece of information they neglect to mention in the account_location plugin is that you need to have an Account model that the account_location plugin will use to get the account name, and it needs to set the @account instance variable.

This post at cleanair tells you how to do this step by step.

Ruby on Rails dudes, you gotta write some better documentation. I know it's great to write lots of code, but it's even better if other people can use it.