http://www.codeulatescreencasts.com/products/vim-for-rails-developers
- Typeracer
- [Keyboard cheat sheet][2]
| ActionView::Template::Error (undefined method `each' for #<Class:0x007fc844e6d430>): | |
| 60: - @filterable_fields.each do |field| | |
| 61: - field_options = case field.type | |
| 62: - when :enum | |
| 63: - options_for_select(field.with(:object => @abstract_model.model.new).enum) | |
| 64: - else | |
| 65: - '' | |
| 66: %li | |
| activerecord (3.2.12) lib/active_record/dynamic_matchers.rb:55:in `method_missing' | |
| actionpack (3.2.12) lib/action_view/helpers/form_options_helper.rb:329:in `each' |
| // grab background: StreetView or uploaded | |
| // 600 x 435 pixels | |
| var bg = $('canvas')[1].parentNode.style.backgroundImage.substring(4); | |
| bg = bg.substring(0, bg.length - 1); | |
| var bgimage = new Image(); | |
| bgimage.onload = function(){ | |
| // grab image from foreground canvas | |
| // 600 x 435 pixels to avoid menus | |
| var uppercanv = $('canvas')[1].getContext('2d').getImageData(0, 0, 600, 435); |
| set nocompatible | |
| set number | |
| set ruler | |
| syntax on | |
| " Set encoding | |
| set encoding=utf-8 | |
| " Whitespace stuff |
http://www.codeulatescreencasts.com/products/vim-for-rails-developers