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.

Diego Plentz's latest activity

Tuesday, April 19 2011
6724 impossible to disable Rack::Runtime was created in Ruby on Rails
  • Diego Plentz
    Diego Plentz created the ticket at 4:33 PM

    Every time I try to disable Rack:Runtime I receive the same exception.

    /Users/plentz/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.7/lib/action_dispatch/middle...
Saturday, October 30 2010
5745 Deprecation problem with Errors#invalid?(attribute) was updated in Ruby on Rails
  • Diego Plentz
    Diego Plentz commented at 8:10 PM

    David, you're right. These messages are being displayed because of a gem I'm using (delocalize_it). Sorry for the inconvenience.

Thursday, September 30 2010
5745 Deprecation problem with Errors#invalid?(attribute) was created in Ruby on Rails
  • Diego Plentz
    Diego Plentz created the ticket at 6:29 PM

    It happens just with the "id" attribute. If I comment it out, it renders correctly

    NoMethodError in Territories#show
    
    Showing /xpto/app/views/territories/_form...
Friday, August 13 2010
5216 find_by_id isn't working was updated in Ruby on Rails
  • Diego Plentz
    Diego Plentz commented at 3:04 AM

    Btw, this really isn't a "bug", its more like a wish.

  • Diego Plentz
    Diego Plentz commented at 2:32 AM

    Santiago, I found this after a while, but to me, just feel right to use "find_by_id", since even if my primary_key column isn't called "id", the attribute is ma...

Wednesday, August 11 2010
5216 find_by_id isn't working was updated in Ruby on Rails
  • Diego Plentz
    Diego Plentz commented at 2:26 PM

    Sorry for the delay. Just found the problem: my table pk isn't "id", it is "foo_id" and I map it using set_primary_key "foo_id" (and because you defined as just...

Tuesday, July 27 2010
5216 find_by_id isn't working was updated in Ruby on Rails
  • Diego Plentz
    • Tag changed from arel rails3 to arel rails3, arel, rails3.0rc
    by Diego Plentz at 5:47 PM
  • Diego Plentz
    Diego Plentz created the ticket at 5:40 PM

    Using Rails 3 RC, find_by_id method isn't working.

    ruby-1.9.2-rc2 > xpto = Foo.first
    => # ruby-1.9.2-rc2 > xpto.id
    => 65 ruby-1.9.2-rc2 > Foo.find(65)
    => # ruby...

Friday, February 19 2010
4005 Rails 3.beta don't work with rack-mount 0.5.2 was created in Ruby on Rails
  • Diego Plentz
    Diego Plentz created the ticket at 9:40 PM

    If I force rack-mount 0.4 installation it works as expected.


    @@@ Diego-Plentzs-Computer:teste plentz$ gem list

    LOCAL GEMS

    abstract (1.0.0)
    actionmailer (3.0.0....