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.

Paul Campbell's latest activity

Monday, July 12 2010
5096 Setting respond_to in application_controller creates mysterious 406 when resp... was updated in Ruby on Rails
  • Paul Campbell
    Paul Campbell commented at 5:13 PM

    Sample app with this functionality here:

    http://github.com/hypertiny/testy

    rails server

    curl localhost:3000/flowers/?format=xml

  • Paul Campbell
    Paul Campbell created the ticket at 5:05 PM

    I created a before_filter in application_controller:

    def set_return_to
      respond_to do |format|
        format.html { session[:return_to] = url_for(params) }
      end...
Tuesday, December 29 2009
745 Form label should use I18n was updated in Ruby on Rails
  • Paul Campbell
    Paul Campbell commented at 9:22 PM

    +1, been waiting on this for ages!

Friday, September 18 2009
2340 action mailer can't deliver mail via smtp on ruby 1.9.1 was updated in Ruby on Rails
  • Paul Campbell
    Paul Campbell commented at 2:09 PM

    I got this today on 1.8.6 on Engine Yard, on Rails 2.3.3 and 2.3.4 ....

    It's a shame this didn't make it in to 2.3.4 ... seems like it's a pretty serious bug, a...

Sunday, June 07 2009
2775 ActiveRecord::Base#find ... let :order param accept a Hash or an Array was updated in Ruby on Rails
  • Paul Campbell
    • Tag set to :order, activerecord
    by Paul Campbell at 10:49 AM
  • Paul Campbell
    Paul Campbell created the ticket at 10:48 AM

    I've been using the :order param on finders quite a lot recently, and what with being able to specify a :conditions => {} hash, I've really felt that :order sho...

2774 ActiveRecord tests with the same name was created in Ruby on Rails
  • Paul Campbell
    Paul Campbell created the ticket at 9:59 AM

    Hey,

    I was mucking about in activerecord/test/cases/finder_test.rb ... about to write a new test, but I came across a bunch of tests with the same name / simila...