Yes, I can see there is no easy, rails-way to do this. In effect, I
need to

1. read in the X most recent records (Select * from Chanelnotes order
by tstamp DESC limit 10)
2. Delete the entire table (delete * in Channelnotes)
3. Do an insert on the ten records I read in.

There's no other way.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to