Hi, I am new to Ruby and rails in general. As of now, I just have a create method in my controller which creates only one user. I want to add multiple users at once in a views. For example, I should be able to have 5 user rows in one page and the admin can create any number of users (from 1 to 5). While creating a user, the admin should be able to add in the attributes pertaining to that user (i.e hiring date, supervisor etc). Can anyone give me any pointers on how to implement this in RoR? Thanks -- Posted via http://www.ruby-forum.com/. -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Babbu 452002 wrote: An example of the output should be like: # Employee Hiringdate Supervisor 1 xyz pqpq xyzwq 2 xyzw prpr oror 3 . . . 4 . . . 5 . . . There should be 5 rows (each corresponding to one employee) in the page and the admin should be able to fill up 5 different rows at once and hit submit. -- Posted via http://www.ruby-forum.com/. -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe Matching Threads
- [LLVMdev] Weird problems with cos (was Re: [PATCH v3 2/3] R600: Add carry and borrow instructions. Use them to implement UADDO/USUBO)
- [Mesa-dev] llvm TGSI backend (WIP) questions
- [LLVMdev] Please benchmark new x86 vector shuffle lowering, planning to make it the default very soon!
- [LLVMdev] Subword register allocation
- [LLVMdev] Please benchmark new x86 vector shuffle lowering, planning to make it the default very soon!