similar to: To Do list project?

Displaying 20 results from an estimated 1100 matches similar to: "To Do list project?"

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
2008 Jul 17
5
.build method
I have gone to the api and have searched the internet and looked through the books that I have, but I am having trouble finding an explanation on what the .build method actually does and how it is used. I guess the best example 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
2006 Jul 07
6
mongrel/win32/apache2 link modification question.
I have apache2 - mongrel 0.3.13.3-mswin32 running, on a server 2000 pc, by folowing the ''Serving Multiple Rails Applications on Windows with Apache and Mongrel'' ( http://tinyurl.com/z9ftz ) the question I have is why is why is http://localhost/myapp/ addded to the front of all my links and how can I stop it? origanal link using webrick /employees/edit/1214 now
2006 May 17
5
text_field_with_auto_complete (newbie question)
I have the text_field_with_auto_complete woking on my user DB using last_name. so looking for ''ivanoff'' works great, but I can''t find ''john''. Plus I like to have ''last_name, first_name'' show up in the dropdown. what I can''t figure out is how to concat first_name and last_name to make a name and use that to look it. working
2006 Aug 15
6
FileSystemWatcher - has any one done this?
I''d like to monitor a folder and when someone drops a file in there I can take the files name and add it to a database. My dream is to have a folder always being watched. and if someone drops a file or folders with files into that watched folder, I take the filename(s) and insert them into a db and if the files are in folder I use the folder name(s) as tags for that file. make sense?
2006 May 22
2
text_field_with_auto_complete part II (newbie question)
now that tha auto complete works (thanks Craig) I''m at a stumbling point again. here''s the situation. I have a text box that gets populated from the auto complete that has "ivanoff, john" and I want to add him to a list of approved users. how do I get the id to add to the employees_users table? do I need to look up the employee in the employee table or can I get the
2006 Oct 16
4
has many :through, accessing join model attribute (newbie)
from the rails recipes i have a has_many through "working". I can list a user and what magazines he subscribes to. but I can''t seem to figure out how to get the other attributes from subscriptions. (like last_renewed_on) reader_controller.rb def list_reader @readers = Reader.find(1) end ---------- list_readers.rhtml <dl> <dt><%= readers.name %> </dt>
2007 Feb 01
16
Help with RadRails...
Hi everyone, I hope someone can help with some RadRails guidance... ( on WIndows XP ) I''ve been using UltraEdit and it''s Project management is good, but I feel RadRails should be better with the inbuild Ruby and RoR features... I''ve tried working through the tutorials on the web site for example the CookBook tutorial & it tells me to go the Generators Pane, which
2008 Jan 31
1
RSpec and the Basecamp API
I realise that this is kind of a basic question but I''m new to rspec and still trying to work out how to do things. I''m working on a rails project that requires basecamp integration via the api, which is fairly trivial to use via the basecamp.rb wrapper: Connection: basecamp = Basecamp.new(APP_CONFIG[''api_host''], APP_CONFIG[''api_username''],
2006 Mar 18
10
collection_select''s linked
I created a form with two collection_select, country and state and would like to bring up to date the state list when to select a new country. How I can make this in Rails? Thanks Eleudson Brazil <p><label for="person_country_id">Country</label><br/> <%= collection_select(:person, :country_id, @countries, :id, :name) %></p> <p><label
2006 May 05
31
The perfect development environment?
I am trying to create the perfect development environment for rails and i dont know exactly which way to go. Do i create a windows environment or a *nix environment. If i go *nix, what distro is best suited for rails. I would be using mysql, so that would come in to play. If i go *nix, i would use apache. Any ideas for the right environment would be greatly appreciated. I guess the major choice is
2006 Apr 08
2
respond_to causes DoubleRenderError?
I have a custom authentication plugin that redirects users to a login site if they aren''t already authenticated and their session hasn''t timed out. I had things working fine with straight http requests, but wanted to add support for ajax requests. I thought this would be a simple matter of replacing all of my "redirect_to <blah> and return false" calls with
2006 Jan 26
42
ruby script/generate scaffold Product Admin hangs
Hi I am running Mac OX tiger with the installed ruby 1.8.2, and mysql5 (I checked that it was running in preference). I tried to run the various fixes recommended in agileweb. I am stuck on page 57, script/generate scaffold... > Could you paste in your database.yml file, from the > "config" folder inside your Rails app? If you have any > passwords entered there, you should
2006 Mar 30
4
redirect_to("url") with post?
Is there a Rails-friendly way to redirect_to an url and post some parameters with that? I''ve tried: redirect_to("http://whatever.com", { ''postme'' => ''this'' }) redirect_to("http://whatever.com", :post => { ''postme'' => ''this'' }) redirect_to("http://whatever.com", :options
2006 Apr 11
3
fun/flamebait: Java Web Devel Stacks
I''ll pose a question partly for fun, partly out of interest to see what everyone else is doing to survive the pain of the day job. It''s for the professional J2EE developer converts out there. Let''s say someone hired you to write a Basecamp clone, but it has to be done in Java, say on the Tomcat or JBoss platform. What does your stack look like now that you''ve
2008 Mar 10
6
Probably OT, but CSS Help?
Ok I know this is off topic, but since you guys are usualy so helpful, I thought I''d try here first. Building a Rails App and one of the things we''ve done is put a CSS class of; * { font-family:"Lucida Grande",verdana,arial,helvetica,sans-serif; margin:0pt; padding:0pt; } Now the problem is that the padding setting, for one reason or another is killing my select
2005 May 17
7
Basecamp API
Seeing as how the new Basecamp API reflects a similar use of RoR that I have been working on I''m curious as to what we can expect to be extracted from there in 0.13? Was the API written as an ActionWebService or just as a set of controllers? Any generic AR xml parsing/output methods that we may see in 0.13? Any reason you decided to do everything with HTTP Get instead of utilizing
2006 May 05
5
Attach a PDF File to an Email
Hello ~ I have an email that I need to attach a PDF to. The email is being sent, and a file is attached but it is not the original file. I am following the example: attachment :content_type => "image/jpeg", :body => File.read("an-image.jpg") changing it to: attachment :content_type => "application/pdf", :body => File.read("pdf/my.pdf")
2006 Jul 14
5
Acts_As_Taggable Plugin multiple controllers.
I have Acts_As_Taggable Plugin working. I have a HR controller and a sales controller. I have a document in hr tagged whitepaper and a differnent document in sales tagged whitepaper when I am in hr I see the hr document tagged with whitepaper and not the sale document (what I want). but if I click on the tag whitepaper I return two documents, hr and sales. I just want to return the hr document
2006 Apr 28
4
Conditional in Model
Hello ~ Is there a way to determine within a model which controller/action instantiated the model? Thx, -- Ben Reubenstein http://www.benr75.com