[Nitro] date_select

Emmanuel Piperakis epiperak at softlab.ece.ntua.gr
Tue Nov 1 04:47:43 EST 2005


George can you please include those changes? It is important to be able to 
use dates!!

Thanx :-)


> can you send me a bundle?
>
> -g.
>
>
> On 11/1/05, Chris Farmiloe <chris at motionpath.com> wrote:
>>
>>
>> Yeah we added fixes to this (and the other problems with date/tags)
>>
>> it's on our darcs version here
>> (http://nitro.lego.motionpath.com) if you
>> want to pull in the changes. :)
>>
>>
>>
>>
>>
>>
>> Chris Farmiloe
>> Design & Development.
>>
>> Motionpath Digital Media Ltd.
>> St Georges road, Brighton, BN2 1ED.
>> Office: 01273 608708    |    Mobile:    07791 179481
>>
>>
>>
>>
>>
>>
>> On 1 Nov 2005, at 05:43, Emmanuel Piperakis wrote:
>>
>> Hi all,
>> I think I found something here if you object has a property Date
>> and you try to fill the object you get the following... fill does not
>> convert the hash to date correctly? (does it only convert to Time?)
>>
>> Thanx ;-)
>>
>>
>> undefined method `year' for {"month"=>"11", "day"=>"1",
>> "year"=>"2005"}:Hash
>>
>> /usr/lib/ruby/gems/1.8/gems/og-0.24.0/lib/og/store/sql.rb:34:in `date'
>> (eval):5:in `og_insert'
>> /usr/lib/ruby/gems/1.8/gems/og-0.24.0/lib/og/store.rb:121:in `save'
>> /usr/lib/ruby/gems/1.8/gems/og-0.24.0/lib/og/entity.rb:16:in `save'
>> ./src/controller.rb:164:in `project_save'
>> (eval):13:in `project_save_action'
>> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/controller.rb:104:in
>> `method_missing'
>> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/render.rb:125:in
>> `render'
>> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/adapter/webrick.rb:142:in
>> `do_POST'
>> /usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
>> `service'
>> /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
>> /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
>> /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
>> /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
>> /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
>> /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
>> /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
>> /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
>> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/adapter/webrick.rb:53:in
>> `start'
>> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/server/runner.rb:282:in
>> `invoke_server'
>> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/server/runner.rb:248:in
>> `invoke'
>> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/server.rb:123:in
>> `run'
>> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro.rb:65:in
>> `run'
>> run.rb:41
>>
>> Emmanouil Piperakis (epiperak at cs.ntua.gr)
>> {To explore is Human, to Create is Devine,
>>   To teach is Primal, to Rule is Sin}
>> _______________________________________________
>> Nitro-general mailing list
>> Nitro-general at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/nitro-general
>>
>>
>> _______________________________________________
>> Nitro-general mailing list
>> Nitro-general at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/nitro-general
>>
>>
>>
>
>
> --
> http://www.gmosx.com
> http://www.navel.gr
> http://www.nitrohq.com
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>

Emmanouil Piperakis (epiperak at cs.ntua.gr)
{To explore is Human, to Create is Devine,
  To teach is Primal, to Rule is Sin}



More information about the Nitro-general mailing list