Displaying 3 results from an estimated 3 matches for "selected_opt".
Did you mean:
selected_app
2008 Sep 02
1
seledted option for select_tag
Hi iam using select_tag i want selected_option. i have made select
_tag like this
<%=select_tag(''name'', options_for_select({ :Relevance
=>''Relevant'',:Date=>''Recent''}),:selected=>params[:name].to_s) %>
The generated html look like this
<select selected="Relevant&q...
2006 May 03
8
hiding table IDs from users
I was wondering if anyone had thoughts on the most efficient way of
making sure users never see internal table IDs? Clearly, scaffold views
show a lot of IDs by default and those can be hidden. The problem seems
to be all of the IDs that Rails passes around in URLs (such as
http://mysite.com/user/show/12345).
My primary concerns are security and confidentiality--one can imagine
that there
2007 Oct 24
13
Ryan Bates' Multi-object Forms and the date_select
I think I''ve found a bug with Edge.
I''m trying out Ryan Bates'' multi-object form technique shown in one of
his Rails-casts (railscasts.com/episodes/75). If you use a fields_for
similar to that shown (here: http://pastie.caboo.se/110480), you get a
Server Error 500:
------
Status: 500 Internal Server Error
Conflicting types for parameter containers. Expected an