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.

Zyclops's latest activity

Wednesday, May 20 2009
2129 Dispatcher interprets path separators in controller names as nested modules/n... was updated in Ruby on Rails
  • Zyclops
    Zyclops commented at 1:18 AM

    The following does the trick for me. I don't know whether this is worth building into rails?

    config.load_paths += Dir["#{RAILS_ROOT}/app/models/**/*"].find_all...
Friday, May 15 2009
2448 Rails 2.3 JSON "put" request routing is broken was updated in Ruby on Rails
  • Zyclops
    Zyclops commented at 1:30 AM

    Client side this is what i have to make the request:
    @@@javascript
    Ext.onReady(function() {
    Ext.Ajax.request({

    url: '/publications/index',
    method: 'POST',
    json...
  • Zyclops
    Zyclops commented at 1:27 AM

    Joseph - I implement your fix but could not get it too work. In firebug under the post tab in the xhr request i have {whatever, but after adding your fix in, th...

Thursday, May 07 2009
2552 request_uri in tests include posted parameters was updated in Ruby on Rails
  • Zyclops
    Zyclops commented at 5:04 AM

    I'm getting the exact same issue.

    post :save_security_profile, { 'advanced_projects_and_fellowships_access' => [125,126], 'roles' => 1 }

    puts request.request_ur...

Thursday, November 06 2008
1335 Connection pool creating a new connection for every http request was updated in Ruby on Rails
  • Zyclops
    Zyclops commented at 11:04 PM

    This only happens in development mode (thanks lifo) and is to do with class reloading.

    In production it works fine.

    In development mode it is an issue since und...

  • Zyclops
    Zyclops commented at 10:40 PM

    I can confirm that this is the case under OSX with MySQL under ruby 1.8.6. Too me it looks like the variable that contains a list of the connections isn't maint...

Thursday, October 16 2008
765 primary_key option for belongs_to was updated in Ruby on Rails
  • Zyclops
    Zyclops commented at 1:32 AM

    This is a must have feature for us. We are using the finder_sql for the has_many relationship but need this to get the belongs_to to work.

    We currently need to ...

Friday, August 22 2008
368 named_scope with bang was updated in Ruby on Rails
  • Zyclops
    Zyclops commented at 2:34 AM

    A condition builder would be a really nice feature, something where you can easily access the various parts that make up a query and at any point and add, edit ...

Wednesday, June 18 2008
368 named_scope with bang was updated in Ruby on Rails
Tuesday, May 27 2008
258 Eager loading optimisation misses if order specified was created in Ruby on Rails
  • Zyclops
    Zyclops created the ticket at 3:02 AM

    When no conditions are passed into find, 2 individual queries are run. One to fetch from the table people and the other from addresses. When you provide some c...