This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
| "------------------------------------ | |
| " vim-rails | |
| "------------------------------------ | |
| ""{{{ | |
| "有効化 | |
| let g:rails_default_file='config/database.yml' | |
| let g:rails_level = 4 | |
| let g:rails_mappings=1 | |
| let g:rails_modelines=0 | |
| " let g:rails_some_option = 1 |
| "------------------------------------ | |
| " neosnippet | |
| "------------------------------------ | |
| " neosnippet "{{{ | |
| " snippetを保存するディレクトリを設定してください | |
| " example | |
| " let s:default_snippet = neobundle#get_neobundle_dir() . '/neosnippet/autoload/neosnippet/snippets' " 本体に入っているsnippet | |
| " let s:my_snippet = '~/snippet' " 自分のsnippet | |
| " let g:neosnippet#snippets_directory = s:my_snippet |
| rails console --sandbox -- --noreadline |
| #!/bin/bash | |
| # TODO: http://wiki.debian.org/LSBInitScripts | |
| DESC="Selenium server" | |
| RUN_AS=root | |
| JAVA_BIN=/usr/bin/java | |
| SELENIUM_DIR=/etc/selenium | |
| PID_FILE="$SELENIUM_DIR/selenium.pid" |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |