[Rails] Re: Difference between two dates

2009-09-28 Thread Jason Lillywhite
Rob Olson wrote: > Subtracting two dates gives a Rational which is the reason for the > integer conversion. why does it return a Rational type? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] Re: unknown action - incorrect route

2009-03-25 Thread Jason Lillywhite
> map.resources :events OK. I'm still learning about RESTful. I'll study up on that. Thank you! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group

[Rails] Re: Gruff Graphs for Scatter Plot

2008-11-20 Thread Jason Lillywhite
I've been searching for that ability as well. I did find this: http://pullmonkey.com/projects/open_flash_chart Which has the ability to do scatter plots. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are su

[Rails] unknown action - incorrect route

2008-10-09 Thread Jason Lillywhite
I have a form called edit.rhtml that lets you edit attributes of an Event object. In the file I have the following code: <% form_tag :action => 'update', :id => @event do %> <%= render :partial => 'form' %> <%= submit_tag_or_cancel 'Save Changes' %> <% end %> The 'update' method in the contro