lib/sugarcrm/base.rb in sugarcrm-0.7.8 vs lib/sugarcrm/base.rb in sugarcrm-0.7.9
- old
+ new
@@ -19,10 +19,11 @@
class_attribute :_module
self._module = nil
# Contains a list of attributes
attr :attributes, true
+ attr :associations, true
attr :id, true
attr :debug, true
class << self # Class methods
def establish_connection(url, user, pass, opts={})
@@ -58,10 +59,11 @@
end
private
def find_initial(options)
- options.update(:max_results => 1)
+ # TODO: Look into fixing this to actually work
+ #options.update(:max_results => 1)
find_every(options)
end
def find_from_ids(ids, options)
expects_array = ids.first.kind_of?(Array)
\ No newline at end of file