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.

overwrite_params no longer works with url_for

#4073

Overwrite_params is described here:
http://api.rubyonrails.org/classes/ActionController/Base.html

This functionality works in 2.3.5, and worked in 3.0 up to the following commit:

http://github.com/rails/rails/commit/226dfc2681c98deaf14e4ae82e973d...

An example of the breakage can be found at the bottom of the following page:

http://intertwingly.net/projects/AWDwR3/checkdepot/section-21.2.html

The same example under 2.3.5:

http://intertwingly.net/projects/AWDwR3/checkdepot-235/section-21.2...

Either this is an intentional change in behavior (and the rdocs need to be updated), or the function needs to be restored.

Reported by Sam Ruby · March 1st, 2010 @ 12:59 AM

State: committed
Milestone: 2.3.6
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: Low

Activity

  1. José Valim
    José Valim
    • Assigned user set to Yehuda Katz (wycats)
    • State changed from new to open

    March 3rd, 2010 @ 08:50 AM

  2. Sam Ruby
    Sam Ruby
    • Milestone set to 2.3.6

    Patch provided to deprecate :overwrite_params in 2.3.6

    March 10th, 2010 @ 03:09 PM

  3. Repository
    Repository
    • State changed from open to committed

    March 11th, 2010 @ 12:26 AM

  4. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Importance changed from to Low

    Automatic cleanup of spam.

    November 7th, 2010 @ 04:52 PM