[Nitro] date_select

Chris Farmiloe chris at motionpath.com
Tue Nov 1 04:16:44 EST 2005



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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20051101/24a406cd/attachment.html 


More information about the Nitro-general mailing list