Results 1 to 5 of 5
Mar 11, 2009, 15:02 #1
- Join Date
- Mar 2009
- 0 Post(s)
- 0 Thread(s)
Newbie Question about deleting records
Following along with the Simply Rails 2 book, on page 138, talks about deleting records.
I used the command (s.destroy) to delete one record, #2, but I can't it to delete the first record. Whey I type s.destroy(1), I get an Argument Error: wrong number of arguments (1 for 0)
any ideas what I'm doing wrong? Just want to delete everything and re-enter the two records.