Class: SDL::Association::HasOne
- Inherits:
-
SDL::Association
- Object
- Field
- SDL::Association
- SDL::Association::HasOne
- Defined in:
- lib/sdl/association.rb
Overview
Indicates a one-to-one connection with another Model
Instance Method Summary collapse
-
#type ⇒ Symbol
The type of field.
Constructor Details
This class inherits a constructor from SDL::Field
Instance Method Details
#type ⇒ Symbol
The type of field
19 20 21 |
# File 'lib/sdl/association.rb', line 19 def type :has_one end |