search for: contact_firstnam

Displaying 2 results from an estimated 2 matches for "contact_firstnam".

Did you mean: contact_firstname
2006 Aug 11
5
Unit tests - NilClass problem
...CustomerTest < Test::Unit::TestCase fixtures :customers # Replace this with your real tests. def test_create test_creation_of :model => Customer, :record => @customer, :fixture => @first, :attributes => [:id, :name, :contact_firstname, :contact_lastname, :contact_address, :contact_country, :contact_state, :contact_email, :contact_phone, :activationcode] end end and when trying to run it I get: ------------ Loaded suite customer_test Started F Finished in 0.731 seconds. 1) Failure: test_create(CustomerTest) [./../te...
2005 Dec 30
3
NewbieQ - Relational tables
Hi all, I''m going nuts on a very simple issue. I know what I want but don''t know what to tell rails to do so. I have a very common setup for managing contacts. A companies table and a contacts table. As you''ve guessed it''s a one to many relationship. The database is setup with the appropriate foreign keys, the models have been generated and I added the