[Nitro] spark and update_time

George Moschovitis george.moschovitis at gmail.com
Wed Sep 7 02:02:09 EDT 2005


yeap Trans changed the to_s method, thanks for pointing out.

-g.

On 9/6/05, manveru <ulmo at valaraan.de> wrote:
> manveru wrote:
> 
> > hi list,
> >
> > now, almost a tradition, my daily problem :)
> >
> > i noticed that in spark every page wich contains:
> >
> > #{@revision.update_time.to_s(:db)}
> 
> i shouldn't post too fast next time - i looked at some other templates
> and found the combination update_time.stamp(:db) quite often, so i
> replaced to_s with that stamp...
> it's just a quick fix - maybe some alias would be better
> 
> so long...
> manveru
> _______________________________________________
> 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




More information about the Nitro-general mailing list