Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ruby-1.9.2-p0 > a = Assignment.new
- => #<Assignment id: nil, created_at: nil, updated_at: nil>
- ruby-1.9.2-p0 > a.create_video_draft
- => #<Video id: 1, videoable_id: nil, videoable_type: "Assignment", created_at: "2011-02-13 23:00:49", updated_at: "2011-02-13 23:00:49">
- ruby-1.9.2-p0 > a.create_video_final
- => #<Video id: 2, videoable_id: nil, videoable_type: "Assignment", created_at: "2011-02-13 23:00:56", updated_at: "2011-02-13 23:00:56">
- ruby-1.9.2-p0 > a.save
- => true
- ruby-1.9.2-p0 >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement