RubyGems Navigation menu

get_or_build 0.0.3

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.3 - March 25, 2012 (6.5 KB)
  2. 0.0.2 - March 24, 2012 (6 KB)
  3. 0.0.1 - March 22, 2012 (5.5 KB)

Development Dependencies (4):

actionpack >= 0
rake >= 0
sqlite3 >= 0

Owners:

Authors:

  • Andrey Koleshko

SHA 256 checksum:

5ee2dd72ae898151f16bf6c0075d7c8e73273789d8d23513d3f1abb566ae2f1c

Total downloads 14,750

For this version 7,959

Licenses:

N/A

Required Ruby Version: None

Links: