Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ruby-1.9.2-p290 :001 > a = DeviceImage.create(:device_id => 1, :modification => :generic)
- => #<DeviceImage id: 1274, device_id: 1, image_file_name: nil, modification: :generic>
- ruby-1.9.2-p290 :002 > a.modification
- => :generic
- ruby-1.9.2-p290 :003 > b = DeviceImage.last
- => #<DeviceImage id: 1274, device_id: 1, image_file_name: nil, modification: "generic">
- ruby-1.9.2-p290 :004 > b.modification
- => "generic"
Add Comment
Please, Sign In to add comment