Module: SupportSegment

Defined in:
lib/support_segment/sti_helpers.rb,
lib/support_segment.rb,
lib/support_segment/railtie.rb,
lib/support_segment/version.rb,
lib/support_segment/form_model.rb,
lib/support_segment/mobile_detect.rb,
lib/support_segment/method_decorator.rb

Overview


From: gist.github.com/1139595 This module is meant to be included in the Base class of an STI model hierarchy.

Heavily inspired by a couple key blog posts

 http://code.alexreisner.com/articles/single-table-inheritance-in-rails.html
 http://coderrr.wordpress.com/2008/04/22/building-the-right-class-with-sti-in-rails/#comment-1826

Thanks to Alex and coderrr!

Defined Under Namespace

Modules: MethodDecorator, MobileDetect, StiHelpers Classes: FormModel, Railtie

Constant Summary collapse

VERSION =
"0.0.4"