ITeye博客

how to truncate table in rails

夜鸣猪 · 2013-01-29 04:14 · 编程语言 · Markdown


ActiveRecord::Base.connection.execute("TRUNCATE TABLE #{table_name}")

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。