search for: family_nam

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

Did you mean: family_name
2007 Oct 14
1
Story Runner: DRYing items used in many stories
The number of stories I have is growing and I''m writing the following step long hand in each story. Given ''a user named'', ''Andy'', ''Watts'' do |first_name, family_name| @email = first_name + ''@test.lan'' create_user( :first_name => first_name, :family_name => family_name, :email => @email ) end It''s great that this step is DRY for scenarios within a story. I''m now wondering if it could be DRY across st...
2008 Jun 05
2
xhr :post giving wrong number of arguments on rails 2.1?
Getting a strange error. In a story I have the following step: When "I submit a search name" do xhr :post, ''/searches'', {:search => {:given_name => "bob", :family_name => "smith"}} end I am getting: ArgumentError: wrong number of arguments (4 for 3) stories/searching_story_spec.rb:45 in "I submit a search name" But I only have 3 arguments in the above list, a symbol, a string and a hash. No exception comes up in the test.log I am on R...
2006 Jul 21
5
How to display data using helpers and collections
...field(object, options = {} ) html = "" html << "Title : " + select(object, ''title'') html << "Given Names :" + text_field(object, ''given_names'' html << "Family Name :" + text_field(object, ''family_name'' html end ## index.rhtml <div id="list_doctors"> <%= render :partial => ''doctor'', :collection => @doctors %> </div> ## _doctor.rhtml <%= name_field "doctor#{doctor.id}" %> How do I display the data from the doctor?...
2006 May 16
4
Problems with multiple ''id'' columns in a join_table
...ER JOIN relationships ON people.id = relationships.subject WHERE (relationships.object = 1 AND (role = ''parent'')); +----+-------------+-----------------+----------+--------+----------------+----------------+----+---------+--------+--------+----------------+----------------+ | id | family_name | personal_name | known_as | gender | created_at | updated_at | id | subject | role | object | created_at | updated_at | +----+-------------+-----------------+----------+--------+----------------+----------------+----+---------+--------+--------+----------------+---------------...
2006 Feb 27
6
One to Many example... please!
...ut how to put together what should be a simple app in rails. The app is to CV''s so I have a table of CV''s and each CV can have multiple skills. Skills are in a 2nd table below; CREATE TABLE cvs( id INT not null AUTO_INCREMENT PRIMARY KEY, first_name VARCHAR(30) not null, family_name VARCHAR(30) not null, email VARCHAR(200) not null, telephone varchar(20) not null, address_1 varchar(30) not null, city varchar(30) not null, county varchar(30) not null, post_code varchar(9) not null, created_on timestamp(14) not null, updated_on timestamp(14) not null ); CREATE TA...
2009 Apr 02
4
Problems with Counter Strike Source
Hi all First : sorry for my english, i'm french [Embarassed] I have a problem with counter strike source. I'm on Ubuntu 8.04.2 Hardy ( and not Studio, i just have the ubuntu studio skin ), i have an ATI radeon 4850 graphic card ( with the latest drivers installed ) and Wine 1.1.18 . To launch the game, i put " WINEDEBUG=fixme-all wine -fullscreen -w 1440 -h 900 -refresh 60
2006 Mar 04
5
has_many and belongs_to example?
Hi! If i have 2 tables i.e. product and images and product has_many images, image belongs_to product - how to create _form.rhtml, new/create and edit/update methods in product controller, so in a single form i can add one product and MANY (let''s assume for now that this number is fixed) images for this product? Pleeeeease help me :) -- Posted via http://www.ruby-forum.com/.