Module: StaticModels::BelongsTo
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/static_models.rb
Overview
When included, it adds a class method that works similar to rails ‘belongs_to’, but instead of fetching an association it gets a static model.