Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> s.metadata
- => #<Metadata id: 1, sound_id: 8, title: "no title", copyright: nil, year: nil, artist: "eK", description: "here is description", link: nil, sound_category: "Blues", created_at: "2009-11-03 03:57:02", updated_at: "2009-11-14 06:34:17">
- >> s.metadata.update_attribute(:year, Date.today.year)
- => true
- >> s.metadata
- => #<Metadata id: 1, sound_id: 8, title: "no title", copyright: nil, year: nil, artist: "eK", description: "here is description", link: nil, sound_category: "Blues", created_at: "2009-11-03 03:57:02", updated_at: "2009-11-14 06:34:17">
- >>
Add Comment
Please, Sign In to add comment