Displaying 2 results from an estimated 2 matches for "show_tim".
Did you mean:
show_time
2008 Apr 13
3
Can't get simple link_to_remote to work
...need to do to get a simple example working:
the <head> should have this:
<%= javascript_include_tag :defaults %>
My test page view should have a div with an id and the ERB like this:
<%= link_to_remote ''Click Me'',
:url => {:action => ''show_time'',
:update => ''time_box''} %>
<div id="time_box"></div>
The controller for my test page should have this:
def show_time
layout false
render_text "Time: " + DateTime.now.to_s
end
I know there''s v...
2006 May 14
1
Suggestion for system.time()
Hi, people. A tiny suggestion for the system.time function.
Could the returned vector have names? These could be like:
c("User", "System", "Elapsed", "Sub.User", "Sub.System")
That would then produce self-documenting output.
--
Fran?ois Pinard http://pinard.progiciels-bpi.ca