Submitted By: Tobias Fuchs (fuchsto) |
Category:
ORM feature |
Percent Complete:
90%
|
Priority:
3 |
Start Date:
2007-02-20 |
End Date:
2007-02-23 |
Task Summary:
Select by label |
Original Comment:
Example:
model Category
...
use_label :cat_name
...
end
cat_obj = Category['Lore']
And using the multiple-label-feature:
model User
...
use_label :forename, :surname
...
end
user_obj = User['Steve', 'Jobs']
Note that order matters in latter case. |
| Assigned To |
| user_name |
| fuchsto | |
| Dependent On Task |
| summary |
| Using multiple attributes as label | |
Hours:
7 |
Status:
Open |
No Tasks are Dependent on This Task |
No Related Tracker Items Have Been Added |
No Comments Have Been Added |
Task Change History
| Field |
Old Value |
Date |
By |
 |
| hours | 6 |
2007-02-27 14:24 |
fuchsto |
| dependent_on_id | 1066 |
2007-02-27 14:24 |
fuchsto |
| assigned_to_id | 100 |
2007-02-27 14:24 |
fuchsto |
| end_date | 2007-02-23 |
2007-02-27 14:24 |
fuchsto |
| start_date | 2007-02-20 |
2007-02-27 14:24 |
fuchsto |
| dependent_on_id | 1066 |
2007-02-27 14:21 |
fuchsto |
| dependent_on_id | 1066 |
2007-02-27 14:18 |
fuchsto |
| end_date | 2007-02-23 |
2007-02-27 14:18 |
fuchsto |
| start_date | 2007-02-20 |
2007-02-27 14:18 |
fuchsto |
| percent_complete | 15 |
2007-02-27 14:18 |
fuchsto |
| dependent_on_id | 1066 |
2007-02-13 20:58 |
fuchsto | |
|