[Rails-core] Re: composed_of constructor and converter options patch

2008-08-26 Thread rob-twf
Hi Chris, Thanks for the feedback, and for the original patches which I used for inspiration (especially in the test cases!) I've just updated the ticket on lighthouse with an example that better illustrates the difference between the :constructor and :converter procs. While in some cases I thi

[Rails-core] Re: Memcached uses local time instead of configured time zone

2008-08-26 Thread Geoff B
Michael Koziarski wrote: > It seems unlikely to me that the root cause of this bug is in the > memcache store, but rather something not handling marshaling correctly. > Are you using the rails 2.1 timezone functionality? Perhaps the > timezone aware attributes? > > Can you reproduce it just by w

[Rails-core] Re: composed_of constructor and converter options patch

2008-08-26 Thread Chris Cruft
Rob, I like your patch: it solves problems I have had and the aesthetics of a proc feel right. But the duplication between the constructor code and the converter code is not DRY. Why not just lump them together into :constructor? By providing the option to use a proc, you've already addressed t

[Rails-core] Re: Updating the tutorial links

2008-08-26 Thread Mike Barsalou
On Aug 25, 5:55 am, Michael Koziarski <[EMAIL PROTECTED]> wrote: > Hongli Lai wrote: > > The ONLamp tutorials on rubyonrails.org are really outdated. Rails 2.1 > > has been out for quite some time now, but the tutorials are still for > > 1.x. This seriously confuses a lot of newcomers. > > > I'v