Ar Chron wrote:
> Seems like pretty elementary logic...
> For populating the droplist on the form, you just need a set of items 
> with a defined coding scheme (0 = today, 1 = 1 week, 2 = 2 weeks, 3 = 1 
> month, 4 = 1 year, 5 = all, or some such).
> 
> In the controller interpreting the link_to_remote, it just had to 
> determine:
> What's today?
> That tells you the range for yesterday
> That tells you the range for today through today - 6 days
> That tells you the range for today through today - 13 days
> etc
> etc
> 
> Peruse the Pickaxe book... you *do* have one don't you?  If not, for 
> shame...
> (just joking, you should be able to find the appropriate ruby references 
> on the web).

Perfect! Thank you.

I know, elementary stuff here. I'm still trying to figure the ruby part
of things out. I've read a couple of Rails book and only a small Ruby
book. The Rails books teach minimal Ruby, so I know I need to go back
through all of that. Thanks for the tip on the pickaxe book! I'll take a
look into that one. Thanks again.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to