Displaying 1 result from an estimated 1 matches for "generic_us".
Did you mean:
generic_
2005 Dec 29
7
belongs_to causing NoMethodError exceptions ... ?
...tter''
@new.activation_key = ''activationkey''
@new.account_id = pending_users(:ok_req).account_id
end
def test_create_with_valid_pending_user
assert @new.save
end
end
SQL definitions for the tables for the classes involved (postgresql):
DROP TABLE generic_users CASCADE;
CREATE TABLE generic_users (
password_hash text NOT NULL
, email_address text UNIQUE NOT NULL
, created_at timestamp with time zone NOT NULL
, updated_at timestamp with time zone NOT NULL
);
DROP TABLE users CASCADE;
CREATE TABLE users (
LIKE generic_users...