#173 √ resolved
Shay Arnett

[PATCH] Url method problem.

Reported by Shay Arnett | February 27th, 2008 @ 10:52 PM | in 0.9.4

The url method should allow you to send extra options when generating a url for :format => and url params. Right now the url method only accepts 2 args so there is no way to pass additional options when using url on a resource like url(:foo,@foo).

Attached failing specs for this case. Also some additional specs for nested routes.

Comments and changes to this ticket

  • Michael D. Ivey (ivey)

    Michael D. Ivey (ivey) February 29th, 2008 @ 06:35 AM

    • → State changed from “new” to “open”
  • Jonathan Younger (daikini)

    Jonathan Younger (daikini) April 8th, 2008 @ 08:17 PM

    • → Title changed from “Url method problem.” to “[PATCH] Url method problem.”

    @ShayArnett I was not able to apply your patch cleanly to head as it looked like there were additional specs already added to url_spec that tested some of the same things your patch added with regards to nested resources.

    I've added specs and implemented the ability to use :format in url() when using named routes or resources.

    Please pull from:

    git pull git://github.com/daikini/merb-core.git ticket-173

  • Ezra Zygmuntowicz

    Ezra Zygmuntowicz April 8th, 2008 @ 08:31 PM

    • → State changed from “open” to “resolved”

    applied thanks

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »