Port currency to rails3
Port models to rails3