[fix] Use ActiveRecord instance for form