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.

Simon Jefford's latest activity

Tuesday, February 24 2009
2057 Add custom load ordering for metal was created in Ruby on Rails
  • Simon Jefford
    Simon Jefford created the ticket at 2:50 PM

    I've added a new configuration options - config.metal - to which you can assign an array of metal class names. Those metals, and those metals only, will be load...

Monday, June 30 2008
509 :variable_name option added to render :partial .. :collection was updated in Ruby on Rails
  • Simon Jefford
    Simon Jefford commented at 4:42 PM

    You make a good point with regards to DRY. I think I now agree - this patch isn't all that. What can I say - it seemed like a good idea late last night!

  • Simon Jefford
    • Tag changed from actionpack to actionpack, patch
    by Simon Jefford at 3:34 PM

    Because that line isn't going to mean much to the reader and will just add noise. Say I have a partial for product images that is for admin pages only - it con...

Sunday, June 29 2008
509 :variable_name option added to render :partial .. :collection was updated in Ruby on Rails
  • Simon Jefford
    Simon Jefford commented at 10:49 PM

    This patch adds a :variable_name option for use when rendering collections using partials. It allows you to do something like:

    render :partial => 'some_partia...

  • Simon Jefford
    Simon Jefford created the ticket at 10:47 PM
Saturday, April 26 2008
51 Gem dependencies can be listed in config/gems.yml was created in Ruby on Rails
Thursday, April 17 2008
9 Adding records to a has_many collection does not work on initialization was updated in Ruby on Rails
  • Simon Jefford
    Simon Jefford commented at 1:36 PM

    I can only get this to happen inside script/console.

    Again, using the models described by Andreas, I ran the following using script/runner:

    u = User.new(:use...
Wednesday, April 16 2008
9 Adding records to a has_many collection does not work on initialization was updated in Ruby on Rails
  • Simon Jefford
    Simon Jefford commented at 10:43 PM

    I've had a quick poke around with this and I can't seem to get a failing test either. However, I was able to replicate the problem in a Rails app using the exa...