ActiveRecord exposed to the Javascript side and guarded by guns.