i use the hash @architectures, just for create news Architectures, because the names of the architectures can change dinamically, so with the hash i collect the possibles names and, in the view, if the user check it, i create the new architecture, or if the user unchecked i delete it (but this part is not show in the post)
could you suggest me some code please? Thanks a lot On 19 jul, 12:06, Frederick Cheung <frederick.che...@gmail.com> wrote: > On Jul 19, 9:14 am, Ignacio Toscano <li...@ruby-forum.com> wrote: > > > But when i see the values of @architectures after request.post? they are > > the originals values. > > Some help please (and sorry for my english) > > It doesn't look like you are changing the objects in @architectures at > all (or indeed using the values at all (apart from controlling how > many new architectures you create) > Also you appear to be misusing check_box slightly - the intent is that > the first argument is the name of an instance variable and the second > the name of a boolean attribute. > > Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.