Displaying 2 results from an estimated 2 matches for "known_a".
Did you mean:
known_as
2006 Feb 24
2
Problem Referencing Fixture Objects
In my tests, I use fixtures, eg pupils.yml might be:
jimmy:
id: 100003
known_as: Jimmy
surname: Page
academic_year_id: 1
gender: m
In the test, @jimmy (the referencing style referred to in Agile Web Dev....)
is nil, whereas pupil(:jimmy) returns the expected Pupil object.
What gives?
Robert
2006 May 16
4
Problems with multiple ''id'' columns in a join_table
...id = relationships.subject WHERE (relationships.object = 1 AND (role = ''parent''));
+----+-------------+-----------------+----------+--------+----------------+----------------+----+---------+--------+--------+----------------+----------------+
| id | family_name | personal_name | known_as | gender | created_at | updated_at | id | subject | role | object | created_at | updated_at |
+----+-------------+-----------------+----------+--------+----------------+----------------+----+---------+--------+--------+----------------+----------------+
| 6 | Cheetham | Bryan...