Dear all,
i wrote script in view like this, <% form_for :seq do |form| %> <fieldset> <legend>Source Information</legend> <div class="form_row"> <label for="seq_id">User ID </label> <%= form.text_field :user_id, :value => session [:user_id],:size=>10 %> </div> </fieldset> <% end %> and i want hide this field to user but i want value= session[:user_id] to insert database automatically how i do? thank you --~--~---------~--~----~------------~-------~--~----~ 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@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 -~----------~----~----~----~------~----~------~--~---