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.

This project is archived and is in readonly mode.

[PATCH] Minor: Add module_eval missing file_name and line_number args

#4712

There is one module_eval call in active_record/autosave_association.rb which doesn't follow passing __FILE__, __LINE__ + 1 arguments convention used elsewhere, attached patch fixes that.

Reported by Evgeniy Dolzhenko · May 27th, 2010 @ 11:35 AM

State: resolved
Milestone: 2.3.9
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Santiago Pastorino
    Santiago Pastorino

    I've cleaned up a lot of this things can you search for more like module_eval %{ or class_eval %{ , etc ...
    Also do it for master and 2-3-stable.
    Thanks.

    May 27th, 2010 @ 12:04 PM

  2. Evgeniy Dolzhenko
    Evgeniy Dolzhenko

    Excluding tests that was the only place I was able to find where module_eval/class_eval didn't follow the conventions.

    Added patch against 2-3-stable which is particularly the same.

    May 27th, 2010 @ 03:40 PM

  3. Santiago Pastorino
    Santiago Pastorino
    • Milestone cleared.
    • Tag changed from activecord to 2.3.x, 3.0, activecord, patch
    • State changed from new to open
    • Assigned user set to Santiago Pastorino

    May 27th, 2010 @ 03:59 PM

  4. Santiago Pastorino
    Santiago Pastorino
    • Assigned user changed from Santiago Pastorino to José Valim
    • Importance changed from to Low

    June 26th, 2010 @ 08:42 PM

  5. Repository
    Repository
    • State changed from open to resolved

    (from [a39f2657b1ae8d61c6018766f8d250b1401beace]) Add module_eval missing file_name and line_number args [#4712 state:resolved]

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/a39f2657b1ae8d61c6018766f8d250...

    June 26th, 2010 @ 09:39 PM

  6. Santiago Pastorino
    Santiago Pastorino
    • Milestone set to 2.3.9
    • State changed from resolved to open

    José we need to apply this for 2.3 too

    June 27th, 2010 @ 12:28 AM

  7. José Valim
    José Valim

    Ok, but in general, there is no need to apply such stuff in 2.3 eh? :)

    June 27th, 2010 @ 07:47 AM

  8. Repository
    Repository
    • State changed from open to resolved

    (from [56b35afbdd64a894e8efddda4651ef89ed7473b2]) Add module_eval missing file_name and line_number args

    [#4712 state:resolved]

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/56b35afbdd64a894e8efddda4651ef...

    June 27th, 2010 @ 07:53 AM