class Dock::Base
Attributes
model[R]
Public Class Methods
inherited(adapter)
click to toggle source
Calls superclass method
# File lib/dock/base.rb, line 5 def self.inherited(adapter) Dock.adapters << adapter super end
new(model)
click to toggle source
# File lib/dock/base.rb, line 10 def initialize(model) @model = model end
Public Instance Methods
all(options = {})
click to toggle source
# File lib/dock/base.rb, line 23 def all(options = {}) raise NotSupportedError end
associations()
click to toggle source
# File lib/dock/base.rb, line 38 def associations() raise NotSupportedError end
belongs_to()
click to toggle source
# File lib/dock/base.rb, line 53 def belongs_to() raise NotSupportedError end
column_names()
click to toggle source
# File lib/dock/base.rb, line 44 def column_names raise NotSupportedError end
count(options = {})
click to toggle source
# File lib/dock/base.rb, line 47 def count(options = {}) raise NotSupportedError end
create(attributes = {})
click to toggle source
# File lib/dock/base.rb, line 14 def create(attributes = {}) raise NotSupportedError end
cyclic?()
click to toggle source
# File lib/dock/base.rb, line 65 def cyclic? raise NotSupportedError end
destroy(object)
click to toggle source
# File lib/dock/base.rb, line 35 def destroy(object) raise NotSupportedError end
embedded()
click to toggle source
# File lib/dock/base.rb, line 62 def embedded raise NotSupportedError end
encoding()
click to toggle source
# File lib/dock/base.rb, line 50 def encoding raise NotSupportedError end
find(id)
click to toggle source
# File lib/dock/base.rb, line 17 def find(id) raise NotSupportedError end
find!(id)
click to toggle source
# File lib/dock/base.rb, line 20 def find!(id) raise NotSupportedError end
first(options = {})
click to toggle source
# File lib/dock/base.rb, line 26 def first(options = {}) raise NotSupportedError end
has_many()
click to toggle source
# File lib/dock/base.rb, line 56 def has_many() raise NotSupportedError end
id()
click to toggle source
# File lib/dock/base.rb, line 29 def id raise NotSupportedError end
model_name()
click to toggle source
# File lib/dock/base.rb, line 41 def model_name raise NotSupportedError end
properties()
click to toggle source
# File lib/dock/base.rb, line 71 def properties() raise NotSupportedError end
scoped()
click to toggle source
# File lib/dock/base.rb, line 59 def scoped raise NotSupportedError end
supports_joins?()
click to toggle source
# File lib/dock/base.rb, line 68 def supports_joins? raise NotSupportedError end
update(search_key, find_by, update_key, by_value)
click to toggle source
# File lib/dock/base.rb, line 32 def update(search_key, find_by, update_key, by_value) raise NotSupportedError end