class ActiveRecord::Base
Public Class Methods
acts_as_humpyard_asset(options = {})
click to toggle source
# File lib/humpyard/active_record/acts/asset.rb 64 def self.acts_as_humpyard_asset(options = {}) 65 set_table_name "#{Humpyard::config.table_name_prefix}assets_#{name.split('::').last.underscore.pluralize}" if options[:system_asset] 66 include Humpyard::ActiveRecord::Acts::Asset 67 end
acts_as_humpyard_container_element(options = {})
click to toggle source
# File lib/humpyard/active_record/acts/container_element.rb 22 def self.acts_as_humpyard_container_element(options = {}) 23 acts_as_humpyard_element options 24 include Humpyard::ActiveRecord::Acts::ContainerElement 25 end
acts_as_humpyard_element(options = {})
click to toggle source
# File lib/humpyard/active_record/acts/element.rb 85 def self.acts_as_humpyard_element(options = {}) 86 set_table_name "#{Humpyard::config.table_name_prefix}elements_#{name.split('::').last.underscore.pluralize}" if options[:system_element] 87 include Humpyard::ActiveRecord::Acts::Element 88 end
acts_as_humpyard_page(options = {})
click to toggle source
# File lib/humpyard/active_record/acts/page.rb 97 def self.acts_as_humpyard_page(options = {}) 98 set_table_name "#{Humpyard::config.table_name_prefix}pages_#{name.split('::').last.underscore.pluralize}" if options[:system_page] 99 include Humpyard::ActiveRecord::Acts::Page 100 end
has_title_for_url(options = {})
click to toggle source
# File lib/humpyard/active_record/has/title_for_url.rb 72 def self.has_title_for_url(options = {}) 73 include Humpyard::ActiveRecord::Has::TitleForUrl 74 end