Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object.all(load_attrs: :all) has no effect #85

Open
palexander opened this issue Apr 10, 2013 · 0 comments
Open

Object.all(load_attrs: :all) has no effect #85

palexander opened this issue Apr 10, 2013 · 0 comments

Comments

@palexander
Copy link
Member

It appears as though using load_attrs: :all has no effect on the results:

onts = Ontology.all(load_attrs: :all)
onts.first.attributes
=> {:internals=>
  #<Goo::Base::Internals:0x007f800f993838
   @_base_instance=
    #<LinkedData::Models::Ontology:0x007f800f993180
     @_cached_exist=nil,
     @attributes={...}>,
   @_id='http://data.bioontology.org/ontologies/AAO':SparqlRd::Resultset::IRI,
   @graph_id="http://data.bioontology.org/metadata/Ontology",
   @lazy_loaded=true,
   @loaded=false,
   @loaded_attrs=#<Set: {}>,
   @loaded_dependencies=false,
   @modified=false,
   @persistent=true,
   @read_only=false,
   @store_name=nil>}
onts.first.loaded?
=> false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant