摘要:
class.new 新建class.find 查询class.destroy 删除变量查询a="hahaha"Product.find(:all,:conditions=>["title like ?","%#{a}%"])Product.find(:all,:conditions=>["title like :title",:title=>"%#{a}%"])Product.find(:all,:conditions=>["title like :title 阅读全文