ActiveRecord

For better organization, try to be consistent about macro methods (there’s no general standard ordering, just pick one and be consistent in your project).