`
qwlong
  • 浏览: 29897 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
name: rubymine ===== LICENSE BEGIN ===== 70414-12042010 00002VG0BeoZbwmNAMNCx5E882rBEM Ysn1P!e"s830EDlHcWg8gmqYVkvZMo Injf4yqlO1yy"82NiwNzyYInoT7AiX ===== LICENSE END ===== --------------------------------------
1、在文件./bashrc.sh中加入如下语句就可以在命令行中直接执行start_tomcat 和shutdown_tomcat进行执行和关闭程序 alias start_tomcat='/home/david/Applications/apache-tomcat-6.0.20/bin/startup.sh' alias shutdown_tomcat='/home/david/Applications/apache-tomcat-6.0.20/bin/shutdown.sh' 也可以通过 startup_tomcat function(){}定义一个复杂的函数进行一系列的操作 2、$JAV ...
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id 这种问题如果是在一个事务中,你使用Customer.new的话,然后你又对customer进行一系列的操作,如下示例: 然后当你在save的时候就会报以上的错误 customer = Customer.new(attr)       customer.channel_type = "101"       customer.channel_id = 101       cust ...
rails 3新增XXS机制,导致html标签在output的时候要进行校验,使用will_paginate的时候会有一些问题,显示不出分页界面,如: <span class="disabled">&lt;&lt;上一页</span> <span class="current">1</span> <a href="/store/index?page=2">2</a> <a href="/store/index?page=3" ...
Global site tag (gtag.js) - Google Analytics