Displaying 7 results from an estimated 7 matches for "person_name".
2006 Mar 07
1
setting tab order in a select form field
Hi
I''m trying to set the tab order for a select form element. I''m doing it like
so:
<%= select ''issue'', ''person_name'', people, "tabindex" => 6 %>
but it gets ignored and I get this for output:
<select id="issue_person_name" name="issue[person_name]"><option
value="1">Administrator</option>
The same syntax works for input elements so I...
2006 Mar 13
3
HABTM: two habtm''s between the same two tables
Imagine I want to track people, and the clubs that they belong to.
table people with columns person_id, person_name
table clubs with columns club_id, club_name
And I have the association table:
table clubs_people with columns person_id, club_id
Now I know how to do this habtm between the two, in order to associate
people with clubs that they belong to.
However my application also needs a secondary associati...
2013 Jun 10
1
Where Query in SQL
Hey all
I am trying to use where in clause in sql query in R
here is my code:
sql.select<-paste("select PERSON_NAME from UNITS where UNIT_ID in
('",cathree,"')",sep="")
where cathree is 1 variable with 16 observations as follows
UNIT_ID
1 205
2 209
3 213
4 217
5 228
6 232
7 236
8 240
9 245
10 249
11 253
12 257
13 268
14 272
15 276
16 280
but when i run this code, 0 rows are se...
2006 Jan 13
5
Form field naming semantics question
Hi,
I have a question today regarding how the various form elements in
_form.rhtml are named.
I understand that for a database table "persons" with a column headed by
"name", then in _form.rhtml it will probably be like:
<p><label for="person_name">Name><br/>
<%= text_field ''person'', ''name'' %></p>
However supposing in my Person class there is a link to another Person
object (ie: spouse)
Is it possible to name the form fields such that the columns
encapsulated by the spouse...
2006 Feb 09
1
Alternative take on Selenium in Rails
...39;'
select ''new_person_gender'', ''Male''
type ''new_person_creation_source'', ''The Planet Zorg''
click_and_wait ''submit_add_new_person'', 4
assert_contains ''person_name'', ''Pixel the Cat''
end
end
This will be turned into a Selenium test suite when you run:
rake selenium
Anyway, enough for the forum. Check out the plugin if you''re interested.
It''s still quite rough, but it Works For Me.
- Jonny.
--
Posted v...
2006 Feb 19
0
Selenium testing plugin
...''Pixel''
type ''new_person_last_name'', ''the Cat''
select ''new_person_gender'', ''Male''
click_and_wait ''submit_add_new_person''
assert_text ''person_name'', ''Pixel the Cat''
end
end
100% Ruby and proud of it ;)
Comments/feedback/patches welcome.
-Jonny.
--
Posted via http://www.ruby-forum.com/.
2007 Mar 05
3
Cannot save session in IE6
A search only returned this thread:
http://www.ruby-forum.com/topic/71970#101107
FF and IE7 both accept and store sessions as such:
--- !ruby/object:CGI::Session
data: &id001
:person_id: 1
:person_name: Bob
flash: !map:ActionController::Flash::FlashHash {}
But IE6 refuses to store the session and returns this:
--- !ruby/object:CGI::Session
data: &id001
flash: !map:ActionController::Flash::FlashHash {}
Can filenames or underscores cause this problem? Any suggestions?
Google hasn'...