You can just do:

```ruby
FactoryGirl.define do
  factory :category do
      user # this works

      association :user # this is longer but I find it more explicit
  end
end
```