#97 √ resolved
BrianTheCoder

Fields for ignores the attrs argument

Reported by BrianTheCoder | April 26th, 2008 @ 07:22 PM

I looked through the code and there's nothing there. This can be needed when you may need to have a values for the setter, but having a getter return those values would be overly difficult. See this for an example

Comments and changes to this ticket

  • Ezra Zygmuntowicz

    Ezra Zygmuntowicz May 3rd, 2008 @ 09:59 PM

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

    im not clear what this is about from the description here. Closing for now

  • BrianTheCoder

    BrianTheCoder May 4th, 2008 @ 12:49 AM

    In fields_for in merb helpers, there's an attrs argument, however, the function itself does nothing with the argument. In rails that allows you to pass in values in case the values your setting aren't the same as what you want the fields to be populated with. If you wish to keep the current behavior however, the argument should be removed.

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 »

Shared Ticket Bins

People watching this ticket