Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\ruby\InstantRails-2.0-win\rails_apps\r4rmusic_old>ruby script/console
- Loading development environment (Rails 2.0.2)
- >> w = Work.find(:all)
- -----------------
- SET SQL_AUTO_IS_NULL=0
- ------------------------
- -----------------
- Work Load
- SELECT * FROM `works`
- ------------------------
- -----------------
- Work Columns
- SHOW FIELDS FROM `works`
- ------------------------
- => [#<Work id: 1, composer_id: 2, title: "Sonata for Cello and Piano in F Major"
- , year: 0, kee: "", opus: "">, #<Work id: 2, composer_id: 2, title: "String Quar
- tet", year: 0, kee: "", opus: "">, #<Work id: 100, composer_id: 2, title: "adasd
- ad", year: 0, kee: "", opus: "">]
- >>
Add Comment
Please, Sign In to add comment