Created
October 4, 2012 21:59
-
-
Save mschoch/3836748 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):034:0> Article.by_author(opt).entries | |
=> [#<Article id: 11897520>, #<Article id: 13251428>, #<Article id: 13389397>, #<Article id: 1410592>, #<Article id: 1480853>, #<Article id: 15176975>, #<Article id: 15504795>, #<Article id: 18996339>, #<Article id: 19012194>, #<Article id: 20151985>, #<Article id: 2018930>, #<Article id: 25575962>, #<Article id: 25615649>, #<Article id: 2568917>, #<Article id: 25879895>, #<Article id: 2733855>, #<Article id: 27550365>, #<Article id: 2860125>, #<Article id: 3559860>, #<Article id: 363145>, #<Article id: 3728186>, #<Article id: 4450579>, #<Article id: 448686>, #<Article id: 6826539>, #<Article id: 72394>, #<Article id: 9193832>] | |
irb(main):035:0> Article.by_author(opt).entries.first | |
=> #<Article id: 11897520> | |
irb(main):036:0> Article.by_author(opt).entries.first.doc | |
=> nil | |
irb(main):037:0> Article.by_author(opt).entries.first.value | |
=> nil | |
irb(main):038:0> Article.by_author(opt).entries.first.as_json | |
=> {"id"=>"11897520", "key"=>["EmausBot", "11897520"], "value"=>nil, "meta"=>{"id"=>"11897520", "rev"=>"1-0017a168598377620000000000000000", "expiration"=>0, "flags"=>0}, "doc"=>{"title"=>"Sperata", "url"=>"http://en.wikipedia.org/wiki/Sperata", "type"=>"text", "is_text"=>1, "is_video"=>0, "is_image"=>0, "popularity"=>0, "views"=>0, "categories"=>["Articles with 'species' microformats", "Bagridae", "Fish of Asia", "Siluriformes stubs"], "timestamp"=>"2012-01-28T19:40:21Z", "content"=>"{{Taxobox\n| name = ''Sperata''\n| regnum = [[Animal]]ia\n| phylum = [[Chordate|Chordata]]\n| classis = [[Actinopterygii]]\n| ordo = [[Catfish|Siluriformes]]\n| familia = [[Bagridae]]\n| genus = '''''Sperata'''''\n| genus_authority = [[Maximillian Holly|Holly]], 1939\n| subdivision_ranks = Species\n| subdivision = \n| synonyms = \n*''Macrones''<br><small>Duméril, 1856</small>\n*''Aoria''<br><small>Jordan, 1919</small>\n*''Aorichthys''<br><small>Wu, 1939</small>\n*''Macronichthys''<br><small>White & Moy-Thomas, 1940</small>\n*''Osteobagrus''<br><small>Jayaram, 1954</small>\n}}\n\n'''''Sperata''''' is a [[genus]] of [[bagrid catfish]]es.\n\n== Species ==\nThere are currently four recognized species in this genus:<ref>{{FishBase genus | genus = Sperata| month = December | year = 2011}}</ref>\n* ''[[Sperata acicularis]]'' <small>[[Carl J. Ferraris Jr.|Ferraris]] & [[Kathryn E. Runge|Runge]], 1999</small>\n* ''[[Sperata aor]]'' <small>([[Francis Buchanan-Hamilton|F. Hamilton]], 1822)</small> (Long-whiskered catfish)\n* ''[[Sperata aorella]]'' <small>([[Edward Blyth|Blyth]], 1858)</small>\n* ''[[Sperata seenghala]]'' <small>([[William Henry Sykes|Sykes]], 1839)</small> (Giant river-catfish)\n\n==Distribution==\nSpecies of ''Sperata'' are found in southern [[Asia]] from [[Afghanistan]] to [[Thailand]] where they are found in a wide variety of water bodies.\n\n==Relationship to humans==\nAt least two of the ''Sperata'' species (''S. aor'' & ''S. seenghala'') are [[sport fishing|sport fish]] as well as being important [[food fish]].\n\n==References==\n<references/>\n{{catfish-stub}}\n[[Category:Bagridae]]\n[[Category:Fish of Asia]]\n\n[[nl:Sperata]]\n[[th:สกุลปลากดหัวเสียม]]\n[[vi:Aoria]]", "authors"=>[{"name"=>"EmausBot"}], "contributors"=>[{"name"=>"EmausBot", "timestamp"=>"2012-01-28T19:40:21Z"}]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment