Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

add #html_attr_name method #62

Open
@catmando

Description

@catmando

just a handy helper to add the ActiveRecordBase (on the client) (it would jus be added to InstanceMethods module)

  def html_attr_name(attr)
    "#{model_name}#{to_key}-#{attr}"
  end

See ruby-hyperloop/hyper-react#244 for details on to_key

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions