ooor 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/app/models/open_object_resource.rb +1 -1
- metadata +3 -2
@@ -463,7 +463,7 @@ module Ooor
|
|
463
463
|
def load_association(model_key, ids, *arguments)
|
464
464
|
options = arguments.extract_options!
|
465
465
|
related_class = self.class.const_get(model_key, object_session)
|
466
|
-
related_class.send :find, ids, :fields => options[:fields] || options[:only] || [], :context => options[:context] || object_session
|
466
|
+
related_class.send :find, ids, :fields => options[:fields] || options[:only] || [], :context => options[:context] || object_session[:context]
|
467
467
|
end
|
468
468
|
|
469
469
|
def reload_fields(context)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ooor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activeresource
|
@@ -81,3 +81,4 @@ signing_key:
|
|
81
81
|
specification_version: 3
|
82
82
|
summary: OOOR - OpenObject On Ruby
|
83
83
|
test_files: []
|
84
|
+
has_rdoc:
|