-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
floere edited this page Sep 13, 2010
·
11 revisions
gem install view_modelsand then adding the line
config.gem 'view_models'in your environment.rb.
script/plugin install git://github.com/floere/view_models.gitIf you want to look at the gem code, I have this “handy” command line ;)
gem which view_models | sed 's/lib\/view_models.rb//' | xargs mateIt’s probably best if you put it in a script:
#!/bin/bash
#
gem which $1 | sed s/lib\\/$1.rb\// | xargs mateThis makes it easy to look at any gem
gemedit view_models