GetOrBuild 0.0.1
Assume user belongs_to company and you want to get company object within one method call. You can do it like this: user.company_or_build
Gemfile:
=
installieren:
=
Versionen:
- 0.0.1 March 22, 2012 (5,5 KB)