Created
April 6, 2010 02:17
-
-
Save richdownie/357144 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> Issue.first | |
=> #<Issue id: 1656, issue_type_id: 23, initiator_id: 1, responder_id: 28, creator_id: 1, created_at: "2010-04-06 02:04:25", updated_at: "2010-04-06 02:04:25", status: "open", initiator_organization_ids: [1], responder_organization_ids: [28], issue_id: "SH-1656", closed_at: nil> | |
>> is = _ | |
=> #<Issue id: 1656, issue_type_id: 23, initiator_id: 1, responder_id: 28, creator_id: 1, created_at: "2010-04-06 02:04:25", updated_at: "2010-04-06 02:04:25", status: "open", initiator_organization_ids: [1], responder_organization_ids: [28], issue_id: "SH-1656", closed_at: nil> | |
>> is | |
=> #<Issue id: 1656, issue_type_id: 23, initiator_id: 1, responder_id: 28, creator_id: 1, created_at: "2010-04-06 02:04:25", updated_at: "2010-04-06 02:04:25", status: "open", initiator_organization_ids: [1], responder_organization_ids: [28], issue_id: "SH-1656", closed_at: nil> | |
>> is.created_at | |
=> Tue Apr 06 02:04:25 +0000 2010 | |
>> is.created_at = "2010-03-06 02:04:25" | |
=> "2010-03-06 02:04:25" | |
>> is.save | |
=> true | |
>> LineItem.last | |
=> #<LineItem id: 2072, issue_id: 1656, created_at: "2010-04-06 02:04:25", updated_at: "2010-04-06 02:05:18", position: 1, status: "open", resolved_at: nil, closed_at: nil, most_recent_post_date: "2010-04-06 02:05:18"> | |
>> li = _ | |
=> #<LineItem id: 2072, issue_id: 1656, created_at: "2010-04-06 02:04:25", updated_at: "2010-04-06 02:05:18", position: 1, status: "open", resolved_at: nil, closed_at: nil, most_recent_post_date: "2010-04-06 02:05:18"> | |
>> li.created_at | |
=> Tue Apr 06 02:04:25 +0000 2010 | |
>> li.created_at = "2010-03-07 02:04:25" | |
=> "2010-03-07 02:04:25" | |
>> li.save | |
=> true | |
>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment