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.

There was a problem

Kieran P's latest activity

Tuesday, March 02 2010
4084 UJS silently fails when csrf_meta_tag is not present was created in Ruby on Rails
  • Kieran P
    Kieran P created the ticket at 3:40 AM

    The current Rails UJS files fail silently for things like link_to ..., :method => :delete, :confirm => 'Are you sure? when the tag for csrf_meta_tag is not sent...

Sunday, February 21 2010
4026 Rubygems 1.3.6 warning in Rails 2.3.5 was created in Ruby on Rails
  • Kieran P
    Kieran P created the ticket at 8:33 PM

    Upgraded to Rubygems 1.3.6 and when I start rails 2.3.5, I get:

    /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency....
Sunday, February 07 2010
3884 Rails 3: Removing action mailer require from applicaton.rb causes development... was created in Ruby on Rails
  • Kieran P
    Kieran P created the ticket at 5:55 AM

    Removing action mailer require from applicaton.rb causes development and production environment failures because ActionMailer isn't required, but the files use ...

Saturday, February 06 2010
3881 [PATCH] Rails --dev and --edge should bundle install to vendor, not home or s... was updated in Ruby on Rails
  • Kieran P
    Kieran P commented at 8:04 PM

    Reattached patch to update .gitignore, to skip vendor dir

  • Kieran P
    • Assigned user set to Carl Lerche
    by Kieran P at 7:11 PM
  • Kieran P
    Kieran P created the ticket at 7:10 PM

    Rails --dev and --edge should bundle install to vendor, not home or system gems.

    This prevents altering system gems with possible buggy versions during testing ...

3872 [PATCH] Rails3 application named 'Test' fails webrick with uninitialized cons... was updated in Ruby on Rails
  • Kieran P
    • Title changed from Rails3 application named 'Test' fails webrick with uninitialized constant Rack::Test::Application to [PATCH] Rails3 application named 'Test' fails webrick with uninitialized constant Rack::Test::Application
    by Kieran P at 7:58 PM

    Right, but checking to make sure things like String or Module aren't used would be a good start.

    I've attached a patch +tests to do this.

  • Kieran P
    Kieran P commented at 6:53 PM

    It might be worth adding a check to see if the constant is already defined in the current app, i.e.

    raise "Already used" if defined?(APP_NAME)
    
3877 E.g. "rails server -e test" doesn't work, "RAILS_ENV=test rails server" does was updated in Ruby on Rails
  • Kieran P
    Kieran P commented at 7:52 PM

    So it looks like a more serious issue as well:

    Bundler.require will always load the wrong environment unless RAILS_ENV is used

3864 "rails server" doesn't start mongrel by default was updated in Ruby on Rails
  • Kieran P
    • Tag set to bug, mongrel, regression, server
    by Kieran P at 8:42 AM

    +1 Mongrel should be preferred over thin, and then webrick