Module: NestedAttr
- Included in:
- NestedAttributesStrategy
- Defined in:
- lib/nested_attr.rb,
lib/nested_attr/version.rb
Defined Under Namespace
Classes: NestedAttributesStrategy
Constant Summary collapse
- VERSION =
"0.0.1.2"
Class Method Summary collapse
Class Method Details
.nested_attr_for(factory, has_many = []) ⇒ Object
129 130 131 132 133 134 |
# File 'lib/nested_attr.rb', line 129 def self.nested_attr_for(factory,has_many=[]) @@has_many_attributes = has_many FactoryGirl.nested_attr_for(factory) end |