Displaying 11 results from an estimated 11 matches for "todo_lists".
Did you mean:
todo_list
2008 Jul 17
5
.build method
...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!?! Why am i using the plural
form of todo_lists? Any help would be MUCH appreciated!
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby...
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 Mar 15
5
Passing params to a component
I see from http://rubyonrails.org/api/classes/ActionController/Components.html
that is possible to pass paramaters to a component.
I don''t understand the exact syntax.
I''m trying:
@master_id = @params[''master_id'']
in the components controller but it is not working.
==== Details:
In my calling view I have:
<%= h(@opportunity.id) %>
<div
2011 Nov 21
0
Issues in running Abstractspoon todo list
Hello,
Please can someone help me get abstractspoon's todo list (ver 6.3.8) to
run under kubuntu.
I have:
wine1.3 (& related libraries/apps), winetricks and the vcruntime
libraries that I got with the script below:
|wgethttp://winetricks.org/winetricks
EXE="winetricks"
chmod +x $EXE
$EXE vcrun2005
$EXE vcrun2008
rinka at Rinka:~$ uname -a
Linux Rinka 3.0.0-13-generic
2011 Nov 30
1
wine-users Digest, Vol 76, Issue 79
On 11/30/2011 07:35 PM, wine-users-request at winehq.org wrote:
> [...]
> 6. Re: Using todolist (abstract spoon) from ubuntu 11.10 ?
> (vitamin)
> [...]
> 9. Re: Using todolist (abstract spoon) from ubuntu 11.10 ?
> (talgalili)
> [...]
> 16. Re: Using todolist (abstract spoon) from ubuntu 11.10 ?
> (James McKenzie)
>
>
>
2006 Jul 05
3
Calling render_to_string from a view
I''m playing around with a list of todos, which I want to render as
<ul>''s that can nest to an arbitrary level, so I wrote this as a helper
method:
def print_todo(t)
str = "<ul>\n\t<li>"
str += render_to_string(:partial => ''todo'', :object => t) + "\n"
t.children.each { |c| str +=
2011 Jul 25
7
Adding a folder to my rspec execution path
Hi guys,
I''m using RSpec with Capybara, and for that I created the
spec/integration folder. But when I execute the command "bundle exec
rspec spec" RSpec don''t execute my files on integration folder. I need
to pass each file to solve this problem.
Do you known how I can put the integration folder on rspec execution
path without need to pass each file?
Thanks,
Pablo
2006 Apr 25
4
Newbie - Grouping of items...
I''m trying to build a dashboard type page (similar in function to
basecamp''s) where I can show the last 5 updated items from my 3
differing models, then grouped together by project.
Solution ideas:
(1) Is it best to create a log model where everytime I add or update
another model (like messages, comments, lists etc) an enrty gets added
to the log along with the project. I
2006 Mar 15
0
Ajax_generator as a component for master/detail use?
I''m experimenting with the Ajax Generator for the first time and I''m
trying to setup a master/detail edit page.
My goal is to display both the Master info and the detail records on a
single page. And allow detail records to be created/edited/deleted on
the fly.
Not sure its possible, but that''s what I''m trying to do.
=== Details
I have an existing master
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
Hello.
I found that anonymous structures does not work on gcc-2.95.
If you guys want to support a bit older platforms I suggest
fixing it.
You can check out patch I created to fix this issue.
I just added 2 extra structures to remove anonymous
structs inside connection_status_t and node_status_t.
Patch is here:
ftp://borg.uu3.net/pub/unix/tinc/tinc.patch
Attaching it as well.
Regards,
Borg
2006 Feb 03
33
[ADV] Rails Recipes Beta Book is now available
I''m delighted to announce that Chad Fowler''s new book, Rails Recipes,
is now available
as a Beta Book.
This is a great title for folks who know Rails, and for folks who
want to get the most out of Rails. It contains detailed recipes for
doing real-world things with Rails, all illustrated with working
code. Some examples are drawn from Rails 1.1, the rest from Rails 1.0.