- Run the following command and copy the ID of your VM
VBoxManage list vms
=> "virtualMachine" {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}- Go to the Vagrant project configuration folder
VBoxManage list vms
=> "virtualMachine" {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}| Just discovered this: an easy way to humanize the attributes of a model. Allows you to rename the database column name to something more reasonable. Makes for nicer, more understandable error messages back to the user. | |
| class User < ActiveRecord::Base | |
| HUMANIZED_ATTRIBUTES = { | |
| :user_email => "E-mail address" | |
| } | |
| def self.human_attribute_name(attr) | |
| HUMANIZED_ATTRIBUTES[attr.to_sym] || super |