Flowdock
method

create_generated_attribute

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Behaviour
create_generated_attribute(attribute_type, name = "test", index = nil) public

Create a Rails::Generators::GeneratedAttribute by supplying the attribute type and, optionally, the attribute name:

create_generated_attribute(:string, 'name')
Show source
Register or log in to add new notes.