Yes, use hidden fields. eg. <%= hidden_field "person",
"id" %>
On Mar 12, 3:34 pm, Rick Fiorentino
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Hi All,
>
> In most of the rails code I have seen the rows of a specific table are
> listed with each row typically having delete and edit links with the ID
> associated for further action.
>
> I would like to hide the id from the user. Typically users are not
> interested in the ID and taking up screen real estate for an ID is not a
> good option for me. Also having a seperate delete link doesn''t
allow for
> the deletion of multiple user selected records.
>
> My plan is to dynamically write hidden fields to a div based on row
> selections by the user. The params would be processed by the controller
> code in include the hidden fields.
>
> Does this approach seem to make sense? Are there better approaches?
>
> Seems to me others would be interested in this type of functionality.
>
> Help is appreciated,
> Rick
>
> --
> Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---