Class: Stringex::ActsAsUrl::Adapter::ActiveRecord

Inherits:
Base
  • Object
show all
Defined in:
lib/stringex/acts_as_url/adapter/active_record.rb

Instance Attribute Summary

Attributes inherited from Base

#base_url, #callback_options, #configuration, #instance, #klass, #settings

Class Method Summary collapse

Methods inherited from Base

#create_callbacks!, ensure_loadable, #ensure_unique_url!, #initialize, #initialize_urls!, loadable?, #url_attribute

Constructor Details

This class inherits a constructor from Stringex::ActsAsUrl::Adapter::Base

Class Method Details

.loadObject



5
6
7
8
9
# File 'lib/stringex/acts_as_url/adapter/active_record.rb', line 5

def self.load
  ensure_loadable
  orm_class.send :include, ActsAsUrlInstanceMethods
  orm_class.send :extend, ActsAsUrlClassMethods
end