ActiveRecord models for WordPress