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.

James Le Cuirot's latest activity

Thursday, August 21 2008
876 :limit for primary key columns was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 12:12 PM

    Thinking about it, I suppose the primary key could always be given explicitly in the create_table block. That would make the underlying code a bit simpler. That...

  • James Le Cuirot
    James Le Cuirot created the ticket at 12:04 PM

    The primary key size for MySQL is currently hardcoded to int(11) in ActiveRecord. I have attempted to add support for the :limit option so you can do something ...

Friday, August 15 2008
496 create_table with explicit :primary_key attribute was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 11:04 PM

    What you've tried to do doesn't quite make sense. You want your primary key to be a string? I'm not sure if Rails supports this. In any case, it isn't possible ...

Thursday, May 15 2008
106 authenticity_token appears in URLs after AJAX GET request was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 11:24 AM

    Ah I was looking at prototype_helper_test.rb. The thing is there is currently no test to check whether remote_function DOES add the token for non-GET requests ...

Sunday, May 11 2008
106 authenticity_token appears in URLs after AJAX GET request was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 11:22 PM

    I was going to add some but I think forgery protection is disabled during tests anyway?

Monday, May 05 2008
106 authenticity_token appears in URLs after AJAX GET request was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 12:35 PM

    I'm still very new to git and while I understand the concept, it still confuses the hell out of me. However, from what I can see "am" is for merging patches fr...

  • James Le Cuirot
    James Le Cuirot commented at 12:17 PM

    Not sure what you mean but if you need my address, it's chewi@aura-online.co.uk.

Sunday, May 04 2008
106 authenticity_token appears in URLs after AJAX GET request was created in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot created the ticket at 12:00 PM

    If you create an AJAX request via remote_function and specify GET as the method, the authenticity_token parameter is added even though it isn't needed. Consequ...

Thursday, May 01 2008
83 Prototype insertion - deprecation and custom functions was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 6:11 PM

    Just had a thought. The ideal way to do this would probably be to ditch :position and have :insertion pass the value as a string or as-is depending on whether ...

  • James Le Cuirot
    James Le Cuirot created the ticket at 5:57 PM

    The Prototype Insertion classes have been marked as deprecated in version 1.6.0. The part of the updateContent function that deals with insertion currently loo...