class ActionBlocks::StringFieldBuilder
Public Instance Methods
before_build(parent, *args)
click to toggle source
Calls superclass method
ActionBlocks::FieldBlock#before_build
# File lib/action_blocks/builders/model_builder.rb, line 451 def before_build(parent, *args) super(parent, *args) @field_type = 'string' end
hashify(user)
click to toggle source
# File lib/action_blocks/builders/model_builder.rb, line 456 def hashify(user) { type: :string, id: @id } end