Why, thats all I''d like to know.
I have the following snippet of code that passes a date back in an
array which worked fine in 1.1.6 and then in 1.2 suddendly its being a
bit to damn clever by half and saying ''hey, thats a date, lets make it
a proper date''.
finish = @finish.year, @finish.month, @finish.day
start = @start.year, @start.month, @start.day
.
.
.
output += (" " * 4)+"<font
style=''color:black; background-color:
#{job.code.colour}''>"+
link_to_remote(local_time_time(job.start), :update => {:success =>
"main", :failure => "split_main"},
:url => {:action => :show_ajax_job, :id => job, :period => @period,
:start => start, :finish => finish})+"</font>"+
(job.id.eql?(@job.id)?"<font
style=''color:red;''><==</font>":"")+"<br>\n"
my 1.1.6 development.log output:
Parameters: {"period"=>"10",
"finish"=>["2006", "11", "30"],
"action"=>"show_ajax_job",
"id"=>"550980", "start"=>["2006",
"12",
"1"], "controller"=>"jobs"}
my 1.2 development.log output:
Parameters: {"period"=>"10",
"finish"=>"2006/11/30",
"action"=>"show_ajax_job",
"id"=>"550980",
"start"=>"2006/12/1",
"controller"=>"jobs"}
Notice the difference between the start and finish parameters.
Any enlightenment is much apprecaited!
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---