Exception: PageRecord::NotInputField

Inherits:
Exception
  • Object
show all
Defined in:
lib/page_record/errors.rb

Overview

This Exception is raised when you try to set a non input field.

<div data-team-id=1>
    <div data-attribute-for='name'>PSV</div>
</div>

When the following code is executed, the NotInputField exception is raised.

team_on_page.name = 'Ajax'