search for: micheldogger

Displaying 7 results from an estimated 7 matches for "micheldogger".

2006 Jun 14
4
Select box onchange problem
...give a id to the method ''add_to_varietytmp'', how do I give the correct id from the selected option? 2.. When I select an option in my selectbox, onchange, the method ''add_to_varietytmp'' doesn''t run. So how do I get my onchange to work? Thnx micheldogger -- Posted via http://www.ruby-forum.com/.
2006 Jun 07
5
check_box:how to update 2 checkboxes dependent on each other
I''ve got the following problem, I''ve created two check_boxes in my view. The user has to select one check_box, but isn''t allowed to seth both of them together on true. Now i am looking for functionality that can help me doing the folling: Scenario 1 CheckBox1 = True, The user sets CheckBox2 from False to True, now CheckBox1 should automatically become False.
2006 Jan 04
4
radio_button method does not recognize int values?
So the api listing says that radio_button(object, method, tag_value, options = {}) gives a radio button tag, and if object.method == tag_value, then the button will be checked. I verified the method behaves correctly for attributes of type string. However, if the attribute is of type int, it doesn''t make the button checked. Does anyone have some information before I file a bug? Some
2006 Jun 14
2
setting selected option in select
I am working on employee scheduling app and am trying to set a drop down list for store hours. I am having trouble setting a default selected for the list. Anybody have any suggestions. example code is below: I have an array set in model Storeday TIME_TYPES =[ [ "12:00am", "0:00" ], [ "12:15am", "0:15" ], [ "12:30am", "0:30" ], [
2006 Jun 09
1
How to send html formated messages through E-mail?
Hi, I want to send mail trough my rails application. Currently I am able to send messages with content-type="text/plain". But when I am trying to send messages in html format, the recepient receives messages but it''s in the plain text format with heml tags also gets displayed in ythe message. How to avoid it? & how to send html message through my application? Please
2006 Jun 04
8
Remove item from session
Hi there, when i do this: session[:myItem] = ''foo'' session[:myItem] = nil the item :myItem is removed from the session. But this: session[''myItem''] = ''foo'' session[''myItem''] = nil doesn''t remove ''myItem'', it''s empty but still in the session. Any suggestion ? Thanks in advance. mic
2006 Feb 27
1
Help on validates_format_of
Hello, i''m quite new with Ruby and i''ve been headbreaking quite a while on the following question. So I hope somebody can help this Noob on Rails. I want to use validates_format_of on the password a user enters for his or her account. I want it to check on the following: 1.. The password has to have a minimum of 2 non-capitalized characters. with the characters i mean: a