Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Craig Buchek's latest activity

Tuesday, February 09 2010
3864 "rails server" doesn't start mongrel by default was updated in Ruby on Rails
  • Craig Buchek
    Craig Buchek commented at 5:05 PM

    While I'd prefer Mongrel to be used automatically, Prem's patch to add it (commented out) to the Gemfile seems to be a reasonable solution. The only way I can s...

Wednesday, April 29 2009
99 SQLite connection failing was updated in Ruby on Rails
  • Craig Buchek
    Craig Buchek commented at 9:07 PM

    I think I finally found the root of the problem. I was still having the problem in Debian 4.0 with Rails 2.3.2 and sqlite3-ruby 1.2.4.

    The problem is that sqlit...

Friday, February 13 2009
1959 named_scope :all is missing was updated in Ruby on Rails
  • Craig Buchek
    Craig Buchek commented at 5:44 AM

    Duh, don't need the lambda in the definition of the named_scope. This should suffice:

    
    named_scope :all, :conditions => {}
    
  • Craig Buchek
    Craig Buchek created the ticket at 4:54 AM

    The documentation for ActiveRecord::NamedScope states:

    All subclasses of ActiveRecord::Base have two named scopes: * all - which is similar to a find(:all) que...

Wednesday, August 13 2008
822 rake db:drop:all fails w/ sqlite was created in Ruby on Rails
  • Craig Buchek
    Craig Buchek created the ticket at 7:38 PM

    $ rake db:drop:all (in /home/booch/work/projects/testing) rake aborted! private method drop_database' called for #<ActiveRecord::ConnectionAdapters::SQLite3Adap...

Wednesday, July 30 2008
99 SQLite connection failing was updated in Ruby on Rails
  • Craig Buchek
    Craig Buchek commented at 6:05 AM

    I tried sqlite3-ruby 1.2.1 and 1.2.2 -- both have the same issues. The root problem MIGHT actually be in that gem's table_info routine in lib/sqlite3/pragmas.r...

Tuesday, July 29 2008
99 SQLite connection failing was updated in Ruby on Rails
  • Craig Buchek
    Craig Buchek commented at 5:05 PM

    Included patch in format requested. Not sure how to add a test for this, though. Any guidance on that would be appreciated.

Friday, July 25 2008
654 rake rails:freeze:edge not working was updated in Ruby on Rails
  • Craig Buchek
    Craig Buchek commented at 11:04 PM

    +1. Nice job on getting the tag names correct in the doc string too. Better than the code I was planning on submitting before I came here and found an existing...