Open files generated by 'rails generate' in your editor
Give Rails 3 generators an --editor option, which will open all generated files in your editor. Just run this command from your app directory:
curl https://gist.github.com/raw/4342095/rails -o script/rails
See my blog post for more details, including instructions to set it up globally for all Rails 3 apps.
Written by Nathan B
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#