Displaying 2 results from an estimated 2 matches for "createdby".
Did you mean:
created_by
2008 Jul 15
9
Beginner Question.
I''m just getting into RoR, coming from a long PHP background. So far I
LOVE IT!
I''m hitting a roadblock with updating my mysql database. For
simplicities sake, I have 2 tables and here are the relevant columns.
Table Users
id
name
email
Table Issues
id
createdby
assignedto
reportedby
In my models I have everything mapped properly I believe.
When I try to update the Issues table
@issue = Issue.find(:id)
@issue.update_attributes(params[:issue])
I get an error, "User expected, got String"
So my question is, should I be updating the table a di...
2006 Mar 21
7
Nuube Sequence problem
...n the line when trying to access the Person object.
Development Log file :
"SQL (0.016000) select people_seq.nextval id from dual
Person Create (0.015000) INSERT INTO people (title, weight,
mothers_maiden_name, shoe_size, middlename, person_type, username,
firstname, height, person_id, createdby, expired, name_string, surname)
VALUES(''Mr'', ''100'', '''', 10, ''T'', null, null, ''T'', '''', :id, ''Chris
Richards'', 0, null, ''T'')"
My Code (standard gene...