Class: EmptyEye::Associations::Builder::ShardHasOne
- Inherits:
-
ActiveRecord::Associations::Builder::HasOne
- Object
- ActiveRecord::Associations::Builder::HasOne
- EmptyEye::Associations::Builder::ShardHasOne
- Defined in:
- lib/empty_eye/associations/builder/shard_has_one.rb
Instance Method Summary collapse
-
#build ⇒ Object
special association builder for shard very verbose but will be easier to update later better than monkey patching this builder allows the other special shard association-ish classes to be created the ground floor …
Instance Method Details
#build ⇒ Object
special association builder for shard very verbose but will be easier to update later better than monkey patching this builder allows the other special shard association-ish classes to be created the ground floor …
11 12 13 14 15 |
# File 'lib/empty_eye/associations/builder/shard_has_one.rb', line 11 def build reflection = super configure_dependency unless [:through] reflection end |