ERB tag shortcut sublime text

https://github.com/eddorre/SublimeERB

go https://sublime.wbond.net/ and install Package Control

command + shift + P
install package (then enter)
SublimeERB (then enter)

(that goes to ~/.config/sublime-text-2/Packages/SublimeERB)

menu > preferences > Key Bindings - User
and then type in

  [
    { "keys": ["ctrl+shift+."], "command": "erb" }
  ]

and then when control + shift + .
erb tag happens

 
6
Kudos
 
6
Kudos

Now read this

export CSV by rails

I will not save a file, just make it downloaded by Tempfile. I will not use database table, of course. This is how my form looks (in new page) config/routes.rb file resources :accounts, only: [:new, :create]... Continue →