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.

Roland Pallai's latest activity

Sunday, May 22 2011
6794 Block in a loop: huge memory claim that can kill your server (3.0.7) was created in Ruby on Rails
  • Roland Pallai
    Roland Pallai created the ticket at 8:16 PM

    Rails 3.0.7 allocates a lot of memory if you do benchmark{}/silence{} in a loop:

    <%= 20.times do %>
      <%= benchmark("test"){ %>
        hello world
      <% } %>
    <% en...
Sunday, May 15 2011
6782 3.0.7: the model uses 'id' field even when 'set_primary_key :uid' set was created in Ruby on Rails
  • Roland Pallai
    Roland Pallai created the ticket at 1:37 AM

    Rails console:

    > Rails.version
    => "3.0.7"
    > User.primary_key
    => "uid"
    > User.last.uid
    => 54306
    > User.last.attributes['id']
    => 54306
    > User.last.id
    => 3
    > User...
Friday, March 18 2011
2421 Problem with has_many :through and alternate keys was updated in Ruby on Rails
  • Roland Pallai
    Roland Pallai commented at 11:30 PM

    Seems like this problem recurred on 2.3.11. It has been worked for a while on 2.3 AFAIK.

    I've same models as Uwe Hees, his description perfectly matches with my...