**Question:** How can i use for one field both sequence and transient attribute?

**Background:** I have factory, which has a name. The name is sequence to keep it unique. However in few specs i need it set name chosen by me so i can predict it in expectation. It's not a Rails project.

In my head it looks like `name {attribute_from_create_call||FactoryGirl.generate :name}`. But i don't know how to get the attribute which i give to the create method

Factory:

```
FactoryGirl.define do
  sequence :name do |n|
    'Testing Bridge '+n.to_s
  end

  factory :historical_bridge do
    name {FactoryGirl.generate :name}
  end
end

```

Usage of factory: `FactoryGirl.create :historical_bridge, name: 'Bridge from '+Time.now.to_s`