- 博客(8)
- 收藏
- 关注
functional test skeleton
namespace :test do namespace :functionals do desc "Generate functional testing skeleton" task :generate => :environment do dir = ENV['dir'] if dir.blank? puts "Wa...
2008-03-28 16:23:20 82
apache+mongrel
Delete .svn files under current folder find ./ -name ".svn" | xargs rm -Rf ways to restart apache sudo /sbin/service httpd restart sudo /usr/local/apache2/bin/apachectl -k restart htt...
2008-03-03 10:27:40 100
BackgrounDRb best practises
[list] [*]Best place for BackgrounDRb documentation is the README file that comes with the plugin. Read it thoroughly before going anywhere else for documentation. [*]When passing arguments from Rai...
2008-02-22 12:45:44 97
work tips
map.connect 'student/student_profile/signup' users/profiles/new cards delete card_record Export A MySQL Database: # mysqldump -u username -ppassword database_name table_name> FILE.sql Import A...
2008-02-15 12:13:04 123
rails tips
1. rails 2.0 for nested resource, edit url helper is changed from parent_edit_child_path to edit_parent_child_path http://blog.hasmanythrough.com/2006/4/3/polymorphic-through has_many :through ...
2008-01-14 11:06:22 78
Linux
1. search a package 1) sudo apt-get udpate 2) sudo apt-cache search something The "z" flag works with gzip, to either create a tar/gzipped archive: tar -czvf archive.tgz files/ ...or decomp...
2008-01-11 14:18:42 89
svn
1. SVN 1) create a new project : [code] svn import -m 'new import' trainer http://svn.idapted.com/svn/projects/trainer[/code] [list] [*]trainer doesn't need to exsit, svn will create it. ...
2008-01-04 16:45:33 118
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人