ruby-rdf / spira

Spira is a framework for viewing RDF data as model objects
http://rubygems.org/gems/spira
The Unlicense
58 stars 36 forks source link

Does Spira support find and find_all active record methods? #19

Closed samuraraujo closed 10 years ago

samuraraujo commented 11 years ago

Is there a plan to make Spira support find and find_all active record methods?

cordawyn commented 11 years ago

"Find" is available, you should take a closer look at https://github.com/ruby-rdf/spira/blob/master/lib/spira/persistence.rb . "Find_all" is not there because it's not frequently used (IMHO), but if you need it, the implementation should be trivial. We accept pull requests too ;-)

NB: Actually, "find_all" is also available, but it's a private method.