create_generated_attribute(attribute_type, name = 'test', index = nil)
Instance Public methods
Create a Rails::Generators::GeneratedAttribute by supplying the attribute type and, optionally, the attribute name:
1 | create_generated_attribute( :string , 'name' ) |
Please login to continue.