Re: [Rails-core] [ann] Super DRY models - Auto-associations and validations

2006-08-14 Thread Dr. Ernie Prabhakar
Hi Nic,I for one think this is incredibly cool, and would love to see it in Rails 1.2 (as part of core)...Thanks!-- Ernie P.On Aug 8, 2006, at 3:33 AM, Nic Williams wrote:I've written an ActiveRecord extension that allows Associations to be automatically generated at runtime without requiring "has_

Re: [Rails-core] Hard Question - ActiveRecord Adapter for a REST service

2006-07-08 Thread Dr. Ernie Prabhakar
Hi Robin, You might want to ask on microformats-rest, as we have a lot of Rails gurus there: http://microformats.org/mailman/listinfo/microformats-rest http://microformats.org/wiki/rest Best, -- Ernie P. On Jun 21, 2006, at 3:12 AM, Robin H. Johnson wrote: Hi, So I've been lurking a whil

Re: [Rails-core] Are you a kilobyte or a kibibyte person?

2006-06-13 Thread Dr. Ernie Prabhakar
Much as I admire the kibibyte concept, I have never seen *anyone* using this in real life.  Ultimately, language is determined by usage, not standards, and I think we need to bow to public opinion in this case.I'm okay with a adding kibibyte as a synonym, and encouraging its use, but since we're ta

Re: [Rails-core] real bind variables -> Query?

2006-05-26 Thread Dr. Ernie Prabhakar
Hi all, On May 26, 2006, at 10:47 AM, Michael A. Schoen wrote: IOW, I'd rather that this patch NOT be applied -- in fact I think my approach should be looked at with good humor, and then thrown away, in favor of representing an executable sql statement as an array of statement and bind valu

Re: [Rails-core] Rails 1.1 is coming

2006-02-27 Thread Dr . Ernie Prabhakar
Hi Benjamin, On Feb 27, 2006, at 5:59 AM, Benjamin Curtis wrote: I'm probably one of two people using Rails who really cares about the little annoyances that come with choosing to use primary key field names of tablename_id. :) I don't know if it's 1.1 worthy, but I would like some feedbac

ActiveData Re: [Rails-core] "ActiveRecord" for Non-SQL Data Sources?

2006-02-22 Thread Dr. Ernie Prabhakar
Hi Kevin et al, Thanks very much for the encouragement and advice. Just to summarize, the best plan appears to be: a) Create a plugin ("activedata") http://wiki.rubyonrails.org/rails/pages/HowTosPlugins b) Define my own module containing my custom classes ("ActiveData") c) Define a new gen

[Rails-core] "ActiveRecord" for Non-SQL Data Sources?

2006-02-13 Thread Dr. Ernie Prabhakar
Hi all, I'm trying to do something a wee bit crazy, and would love to get your combined wisdom on how to proceed. I've looking at ways to get Rails working with Mac OS X's CoreData framework: http://www.opendarwin.org/~drernie/B2126242314/C499496031/ E20051019100520/index.html When I as