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.

Elad Meidar's latest activity

Sunday, September 27 2009
2989 Setting the id of a belongs_to object does not update the reference to the ob... was updated in Ruby on Rails
  • Elad Meidar
    Elad Meidar commented at 2:21 AM

    @Joe: i think there's a logical error in your test.

    You wrote:

    
    client.firm_id = other_firm.id
    

    to update the existing firm, but the Client class indicates:

    
    ...
  • Elad Meidar
    Elad Meidar commented at 1:30 AM

    +1 on the patch, applies cleanly on master and 2-3-stable.

  • Elad Meidar
    Elad Meidar commented at 1:25 AM

    @Joe: Master? 2-3-stable?

    The way i see it, is that the way to solve it is to create a custom getter for any foreign key on a :belongs_to model..(child) and rel...

3212 Almost 1 second extra in time subtraction (rails 2.3.4) was updated in Ruby on Rails
  • Elad Meidar
    • Tag changed from 2.3.4, bugmash, float, time, timewithzone to 2.3.4, bugmash, bugmash-review, float, time, timewithzone
    by Elad Meidar at 12:58 AM

    Yap, seems like the initial approach was the wrong one.
    -1 on feature, i think this one should be closed too.

3238 mem_cache_store_test has flawed test was updated in Ruby on Rails
  • Elad Meidar
    Elad Meidar commented at 12:54 AM

    @Aaron: Correct me if i'm wrong, but if assert_equal nil, cookies['_session_id'] is passing on both cases, it means that the session_id is not affected by sendi...

Saturday, September 26 2009
3203 select helper breaks for numerical values and displays was updated in Ruby on Rails
  • Elad Meidar
    Elad Meidar commented at 7:29 PM

    @sr.iniv.t - is this patch for 2-3-stable ?

3260 ActionView::TestCase needs to be ported to master. was updated in Ruby on Rails
  • Elad Meidar
    Elad Meidar commented at 7:25 PM

    I've attached a patch that ports ActiveView:TestCase to master

3209 symbol value support for check_box_checked? was updated in Ruby on Rails
  • Elad Meidar
    Elad Meidar commented at 6:39 PM

    +1 patch applies cleanly on master and 2-3-stable, tests pass as well.

3218 default_scope is having a side affecct on create was updated in Ruby on Rails
  • Elad Meidar
    Elad Meidar commented at 5:59 PM

    @david, which one did you try?

3075 Add :dependent => :restricted to has_one and has_many was updated in Ruby on Rails
  • Elad Meidar
    • Tag changed from bugmash to bugmash, patch
    by Elad Meidar at 7:52 AM