Avoiding some real problems with rails's internal system and devise.