Sha256: 251eec40f046aa712a7a8187ceb2261b4f9ccc5d5031be58865846e545ab45dd

Contents?: true

Size: 227 Bytes

Versions: 19

Compression:

Stored size: 227 Bytes

Contents

require 'og/relation/refers_to'

module Og

# A 'has_one' relation.
#
# === Examples
#
# user.profile = Profile.new
# user.profile
# user.profile(true) # reload
# user.profile(:reload => true)

class HasOne < RefersTo
end

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
og-0.41.0 lib/og/relation/has_one.rb
og-0.17.0 lib/og/relation/has_one.rb
og-0.18.0 lib/og/relation/has_one.rb
og-0.19.0 lib/og/relation/has_one.rb
og-0.18.1 lib/og/relation/has_one.rb
og-0.20.0 lib/og/relation/has_one.rb
og-0.21.2 lib/og/relation/has_one.rb
og-0.22.0 lib/og/relation/has_one.rb
og-0.21.0 lib/og/relation/has_one.rb
og-0.26.0 lib/og/relation/has_one.rb
og-0.27.0 lib/og/relation/has_one.rb
og-0.28.0 lib/og/relation/has_one.rb
og-0.29.0 lib/og/relation/has_one.rb
og-0.23.0 lib/og/relation/has_one.rb
og-0.24.0 lib/og/relation/has_one.rb
og-0.25.0 lib/og/relation/has_one.rb
og-0.31.0 lib/og/relation/has_one.rb
og-0.40.0 lib/og/relation/has_one.rb
og-0.30.0 lib/og/relation/has_one.rb