how can I drop all table data in one hit, from within ruby code (controller or model)?

how can I drop all table data in one hit, from within ruby code (controller or model)? (i.e. prior to updating my projections table I need to delete all existing data first)

thanks

Are you looking for this: http://railsapi.org/activerecord-base-delete_all

Basically, delete_all should do what you're asking.

HTH