search for: pin_before_type_cast

Displaying 1 result from an estimated 1 matches for "pin_before_type_cast".

Did you mean: cin_before_type_cast
2005 Dec 26
16
How to create application with single table with primary key
...del: class Employee < ActiveRecord::Base has_many :shots set_primary_key ''pin'' end and creating the scaffold script/generate scaffold Employee 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: &...