01 2016 档案

摘要:知识点 1.html 选择时间的input标签 Date.today.to_s 2. action 返回json 数据 3. 返回到article 数据到view redirect_to article_path(@article) 4. permit 方法允许在动作中使用 title 和 text 阅读全文
posted @ 2016-01-29 14:50 上官帅帅 阅读(277) 评论(0) 推荐(1)
摘要:jQuery的一些东东比较容易忘,所以在这里整理一下... ... 1. each (1) $(selector).each(function(index,element)) index - 选择器的 index 位置 element - 当前的元素(也可使用 "this" 选择器) $("butt 阅读全文
posted @ 2016-01-27 13:44 上官帅帅 阅读(410) 评论(0) 推荐(1)
摘要:<一> 安装文件 一、deb包的安装方式 sudo dpkg -i *.deb 二、编译安装方式 建立编译环境sudo apt-get install build-essential 到源代码的压缩文档,把它解压到/tmp目录下,进入/tmp/软件目录,然后执行以下三个命令:1 ./configur 阅读全文
posted @ 2016-01-22 10:12 上官帅帅 阅读(261) 评论(0) 推荐(1)
摘要:安装部署ruby on rails 的环境时并不是想的那么顺利 这个是我遇到的问题及解决的方式 参考安装博客: (1) https://ruby-china.org/wiki/install_ruby_guide (2) http://fenxiang.banguanshui.com/content 阅读全文
posted @ 2016-01-18 15:25 上官帅帅
摘要:突然今天发现一大神的博客:http://www.cnblogs.com/jackluo/archive/2013/01/22/2871655.html 相信初学者会受益颇多 ruby 参考文档:http://www.tutorialspoint.com/ruby/ 关于ruby 的算法:http:/ 阅读全文
posted @ 2016-01-15 13:31 上官帅帅 阅读(687) 评论(0) 推荐(1)