nivta
firefox.exe -ProfileManager
| css强制换行:word-break:break-all;word-wrap:break-word; |
|
| gem install --version=1.2.5 rails --include-dependencies |
|
| killall -9 dispatch.fcgi /etc/init.d/lighttpd restart |
|
| resources方法一些参数: :controller -- specify the controller name for the routes. :singular -- specify the singular name used in the member ro ... ... |
|
| skip_before_filter :login_required |
|
| save(false)会skip validation |
|
| My english is ill, but I can undersand on you if the speaking is slowly. |
|
| 下面提到两种间接访问blogspot的方式: (1) nyud.net:8090, http://***.blogspot.com.nyud.net:8090/ (2) http://***.blogspot.com => http://www.pkblogs.co ... ... |
|
| 浏览器的默认字体高都是16px,所以未经调整的浏览器在显示1em=16px。换算过来的话也就是说1px=0.0625em,也就是12px= 0.75em, 10px=0.625em,通过1px=0.0625em大家可以在CSS编写时通过px转换成em。 ... |
|
| ActionMailer::Base.smtp_settings = { #2.0 smtp_settings ,1.2 server_settings ... } |
|
| overflow:hidden; white-space:nowrap; width:122px; |
|
| 1、用gem uninstall 首先删除以前的版本,gem uninstall rails 安装新版本, 同一所述 2、gem cleanup 按照一中的方法安装完成后,1.2.1和1.1.6是共存的,如果想清除所有已安装的老版本gem,直接运行 gem cleanup 即可 ... |
|
| gem uninstall rubygems-update |
|
| rails myapp-name --database=mysql' |
|
| rake db:test:clone_structure |
|
| auto_link(text, link = :all, href_options = {}, &block) |
|
| sudo gem install rspec |
|
| 常用的压缩和解压缩操作: tar cf mt.tar mt-3.34-en 把mt-3.34-en压缩成 mt.tar tar cfz mt.tar.gz mt-3.34-en 把mt-3.34-en压缩成mt.tar.gz tar xvf mt.tar 解 ... ... |
|
| <%= f.collection_select :category_id, Category.find(:all), :id, :name, :prompt => "Select a Category" %> |
|
