Displaying 1 result from an estimated 1 matches for "employee_pin".
Did you mean:
employee_id
2005 Dec 26
16
How to create application with single table with primary key
...loyee
It simply does not work. When I try to access the
http://localhost:3000/employees/new page, I got error
undefined method `pin_before_type_cast'' for #<Employee:0x4092d5d0>
Extracted source (around line #5):
2:
3: <!--[form:employee]-->
4: <p><label for="employee_pin">Pin</label><br/>
5: <%= text_field ''employee'', ''pin'' %></p>
6:
7: <p><label for="employee_first_name">First name</label><br/>
8: <%= text_field ''employee'', ''first_n...