#97 √ resolved
BrianTheCoder

Fields for ignores the attrs argument

Reported by BrianTheCoder | April 27th, 2008 @ 02:22 AM

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 4th, 2008 @ 04:59 AM

    • → 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 @ 07: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.

  • Eshwar

    Eshwar October 17th, 2008 @ 11:57 AM

    • → Tag changed from “” to “bug bug form_helpers medium merb_helpers”
    • → Assigned user changed from “” to “jack dempsey (jackdempsey)”
  • Eshwar

    Eshwar October 17th, 2008 @ 11:58 AM

    fields_for in merb is not working like in rails

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