Thinking to setup Vim for Rails? Figuring out what are the best plugins? How to install them and lot of other things? Here is a quick setup for vim for ruby on rails development, having every plugin that you will ever need to use in ruby on rails development. An Ultimate VIM configuration for ruby on rails development.
Rubygems are the best thing that happened in ruby on rails. So today here is my list of gems in development group that helps to make things faster or sometimes bring simplicity to the development process
What they do:
better_errors: Better Errors replaces the standard Rails error page with a much better and more useful error page. It is also usable outside of Rails in any Rack app as Rack middleware.
If you would like to use Better Errors’ advanced features (REPL, local/instance variable inspection, pretty stack frame names), you need to add the binding_of_caller
For Rails apps running on Heroku, by default Time.now and some_time.localtime will display in UTC. If you’d like to assign a time zone to your app, you can set the TZ config variable to a time zone (which must be in the tz database timezone format).
Personally, I despise the tz database format, because it requires you to guess WHICH city is chosen to represent that time zone (for Pacific, it’s Los_Angeles, not Seattle, not San_Francisco). But that’s what Heroku uses, so to set your app to Pacific you simply run:
The allowed options are listed on the page linked above.