2014年4月4日
摘要: tap and trytap%w(x y z).push('a').shift.tap {|x| p x }.upcase.next[].tap {|i| i :b)# Arguments: [1, 2]# Options: {:a=>:b}跳过modle更新数据库:ActiveRecord::Base.connection.execute("update corps set followers_count = #{followers_count} and staffers_count = #{staffers_count} where id = 1" 阅读全文
posted @ 2014-04-04 16:29 qinyan20 阅读(197) 评论(0) 推荐(0) 编辑