Ruby语法简单,有点不优雅,但让我能快速学习上手。
tip:
gem install open_gem
gem open rails 就可以读原码。
安装此插件后,
gem read rails 就可以看文档。
当然操作系统也要提个好的,fedora是我的推荐。
--
tommy xiao
E-mail: xiaods(AT)gmail.com
mysql,Linux,HighPerformance,ruby on Rails
gem install open_gem
gem open rails 就可以读原码。
安装此插件后,
gem read rails 就可以看文档。
当然操作系统也要提个好的,fedora是我的推荐。
Under [branch "master"]
, try adding:
[branch "master"]
remote = origin
merge = refs/heads/master
This tells Git 2 things:
git pull
on the master branch, with no remote and branch specified, use the default remote (origin) and merge in the changes from the master branch.The UJS drivers trigger six events on every AJAX call:
ajax:before
ajax:loading
ajax:success
ajax:failure
ajax:complete
ajax:after
$('#new_resource').live('ajax:loading', function() {
// code to display loading div
});