Displaying 3 results from an estimated 3 matches for "todo_item".
Did you mean:
todo_items
2008 Jul 17
5
.build method
...ample is if I want to create a todo list
application where I can create a new todo list and add to do items all
at the same time.
I would post to the todolist controller to create the todo list but
then it would error out as I have multiple todo items in the params
hash that look like this params[:todo_items].. It would say that there
is no method for todo_items=
So i would create my accessor method in the todolist model like this:
# located in Todolist model
def todo_items=(todo_items)
todo_items.each do |todo_items|
todo_lists.build(todo_items)
end
end
But what is that build actually doing!...
2006 May 10
9
noobie activerecord find query
In my webapp a todolist has many todo items. I am trying to display
lists that are completed. By incomplete I mean that all the items in
that list are done (booolean = true). I hope to have a list of active
lists and complete lists on one page.
I''m no ruby expert by any means so I think I have to ''pipe'' some results
into another query??
Can you help please?
--
Posted
2006 May 09
6
To Do list project?
I''m looking for a good web-based to do list app. Essentially, I''d like
to use Basecamp''s todo management system, but that''s not an option
since I can''t install Basecamp on a server I own. The information
being tracked in the list cannot be sent out of my intranet.
I would imagine that there are a couple of open source rails apps that
would meet my