factory_girl 4.3.0 compatibility

[#60433512]

`method` is a defined method on the definition proxy in factory_girl
4.3.0, so need to call add_attribute directly instead of using
method_missing behavior to define attributes called `method`.