Select vs. select_tag


#1

Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


#2

One way would be to put @timesheet.user_id =
session[:logged_in_user_id_or_whatever]
in the controller action for this view.
select() just defaults the selection to the current value returned by
the method. In this case, @timesheet.user_id


#3

Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails