RubyGems Navigation menu

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.1 - March 22, 2012 (5.5 KB)

Development Dependencies (3):

rake >= 0
sqlite3 >= 0

Owners:

Authors:

  • Andrey Koleshko

SHA 256 checksum:

aab0a010d9db59a820ec260da1c6c695553026cfbaf12031eb72fba30f770d70

Total downloads 4,436

For this version 4,436

Licenses:

N/A

Required Ruby Version: None

Links: