SHARE
TWEET

db result

a guest Feb 13th, 2011 55 Never
  1. ruby-1.9.2-p0 > a = Assignment.new
  2.  => #<Assignment id: nil, created_at: nil, updated_at: nil>
  3. ruby-1.9.2-p0 > a.create_video_draft
  4.  => #<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">
  5. ruby-1.9.2-p0 > a.create_video_final
  6.  => #<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">
  7. ruby-1.9.2-p0 > a.save
  8.  => true
  9. ruby-1.9.2-p0 >
RAW Paste Data
Top