search for: todo_id

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

2005 Apr 27
5
Eager load mysteriously deletes records
...t;todos", "position"=>"0"} [4;35mTodo Columns (0.010000) [0;37mSHOW FIELDS FROM todos [4;33mWhens Columns (0.000000) [1;37mSHOW FIELDS FROM whens [4;35mTodo Load Including Associations (0.000000) [0;37mSELECT todos.position AS t0_r6, todos.due AS t0_r7, whens.todo_id AS t1_r0, whens.id AS t1_r1, todos.repeat_id AS t0_r0, whens.category_id AS t1_r2, todos.hour AS t0_r1, todos.priority AS t0_r2, todos.id AS t0_r3, todos.description AS t0_r4, todos.kind_id AS t0_r5 FROM todos LEFT OUTER JOIN whens ON whens.todo_id = todos.id ORDER BY position ASC [4;33mCategory...
2009 May 19
0
submit_to_remote fails on rails 2.2.2
...project.project_teams.map {|u| [User.find (u.user_id).full_name,u.user_id]}.uniq)%> </p> <p> <%= submit_to_remote ''create_btn'', ''Update'', :url => { :action => ''update_todo'',:id=>@project.id,:todo_id=>@todo.id} %> </p> </div> <%end%> Controller ============ def update_todo @todo = Todo.find(params[:todo_id]) @todo.update_attributes(params[:todo]) @todo.save end