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.

This project is archived and is in readonly mode.

[PATCH] ./script/dbconsole is broken in edge rails

#3690

Commit http://github.com/rails/rails/commit/8cb594a2e1808cd7d93f3593afed04... broke ./script/dbconsole. I've provided a quick fix for it..
Here's how it works now

[sam@sambookpro] [~/Sites/edgeapp]
[git:master] % ./script/dbconsole 
/Users/sam/Documents/Development/ruby/rails/railties/lib/rails/commands/dbconsole.rb:37:in `start': undefined local variable or method `env' for #<Rails::DBConsole:0x1021ca400> (NameError)
    from /Users/sam/Documents/Development/ruby/rails/railties/lib/rails/commands/dbconsole.rb:8:in `start'
    from ./script/dbconsole:6
[sam@sambookpro] [~/Sites/edgeapp]

Reported by Sam Granieri · January 14th, 2010 @ 12:41 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Sam Granieri
    Sam Granieri
    • Tag changed from dbconsole, edge, patch, rails3, railties to 3.0, dbconsole, edge, patch, rails3, railties

    January 14th, 2010 @ 01:01 AM

  2. Rizwan Reza
    Rizwan Reza
    • Tag changed from 3.0, dbconsole, edge, patch, rails3, railties to 3.0, bugmash, dbconsole, edge, patch, rails3, railties, review

    +1 verified

    Works like a charm. Nice catch!

    January 16th, 2010 @ 08:49 AM

  3. Repository
    Repository
    • State changed from new to resolved

    January 16th, 2010 @ 03:25 PM