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.

Josh Nichols's latest activity

Saturday, June 19 2010
4907 db:abort_if_pending_migrations fails with exception if development database h... was created in Ruby on Rails
  • Josh Nichols
    Josh Nichols created the ticket at 8:46 PM

    I just started up a fresh rails 3.0.0.beta4 project and tried running the default rake task, before having created a database or really any code. It failed with...

Sunday, January 17 2010
3725 include paths for gem bundler in generated gitignore was created in Ruby on Rails
  • Josh Nichols
    Josh Nichols created the ticket at 6:11 PM

    Rails 3 now generates a gitignore file for you:

    db/*.sqlite3
    log/*.log
    tmp/**/*
    

    However, it doesn't include paths to match the files gem bundle would generate...

3398 script/plugin install fails doesn't populate new directory in vendor/plugins was updated in Ruby on Rails
  • Josh Nichols
    Josh Nichols commented at 5:23 AM

    I've tested with a non-RC version, 1.6.6, and still see the same behavior.

    Looking at the code suggests that something about the git command is not exiting clea...

Saturday, January 16 2010
3269 Add a default .gitignore for Rails was updated in Ruby on Rails
  • Josh Nichols
    Josh Nichols commented at 4:46 PM

    This seems to be implemented:

    $ ruby railties/bin/rails zomg --dev
    # snip
    $ ls zomg/.gitignore 
    zomg/.gitignore
    
3398 script/plugin install fails doesn't populate new directory in vendor/plugins was updated in Ruby on Rails
  • Josh Nichols
    • Tag changed from 2.3.4, git, install, scriptplugin to 2.3.4, bugmash, git, install, scriptplugin
    by Josh Nichols at 4:43 PM
3706 uninformative error message when using 'markdown' helper without bluecloth gem was updated in Ruby on Rails
  • Josh Nichols
    Josh Nichols commented at 4:38 PM

    That matches the behavior I'm seeing, but contradicts bundler's documentation:

    # Don't auto-require this gem.
    gem "rspec-rails", "1.2.9", :require_as => nil
    
    #...
  • Josh Nichols
    • Tag changed from action_view, markdown, rails3 to action_view, bugmash, markdown, rails3
    by Josh Nichols at 5:38 AM
  • Josh Nichols
    Josh Nichols created the ticket at 5:38 AM

    If you happen to use the markdown helper, like so:

    <%= markdown(post.body) %>
    

    You get a pretty uninformative error message:

    ActionView::Template::Error (unin...
3705 imrove readability of `script/generate` (without args) was updated in Ruby on Rails
  • Josh Nichols
    • Tag changed from rails3, rails_generator to bugmash, rails3, rails_generator
    by Josh Nichols at 5:39 AM
  • Josh Nichols
    Josh Nichols created the ticket at 4:38 AM

    The current output of script/generate without any args isn't particularly readable (ie its hard to find the generator you want), and doesn't display usage (like...