Rails development must have gems
Meta gem for essential gem for use in development environment
#Gem list
- hirb - rails console models table output
- powder - Makes Pow even easier
- wirble - rails console colorizing, tab-completion, persistent history
- dev_log_in - Type /dev/log_in/john in browser to log in as john (in env.development)
- guard
- guard-rspec
Usage
Just add to group :development in Gemfile:
group :development do
gem 'dev_must_have' , github: 'evrone/dev_must_have'
end
hirb
Add to ~/.irbrc
:
begin
if defined?(Rails)
Hirb.enable
end
rescue LoadError => err
end
then rails console and:
irb(main):003:0> User.all
wirble
Add to ~/.irbrc
:
begin
require 'wirble'
Wirble.init
Wirble.colorize
rescue LoadError => err
end
powder
You already can execute a lot of commands:
powder link => Link the current dir to ~/.pow/<current_directory>
powder unlink => Unlink current_dir or the symlink defined in .powder
powder config => Get Pow's current configuration information
powder open => Opens the pow link in a browser
See a bit more on the gem homepage
dev_log_in
Go to http://myproject.local/dev/log_in/john to log in as john (if a user with email "john@." exists in DB)
guard
guard init rspec