komagata/lokka — Issue #126: Post#first without args
Author: komagata
Created: 2011-11-16 18:14:58+00:00
State: open
Labels: bug

% bundle exec irb -r./init
>> Lokka::Database.new.connect
=> #
>> Site.first.title
=> "Test Site"
>> Post.first
ArgumentError: wrong number of arguments (0 for 1)
from /Users/komagata/code/master-lokka/lib/lokka/entry.rb:78:in `first_with_scope'
from (irb):3
from /Users/komagata/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `

'