would be to use via a more standalone script like script/console (e.g. script/sql ) where I can connect to any db and immediately get models and benefits of AR... then perhaps I
really won't have to enter the mysql prompt anymore.On 8/15/06, Kyle Maxwell <
[EMAIL PROTECTED]> wrote:> If all this di
On 8/14/06, Andrew Kaspick <[EMAIL PROTECTED]> wrote:
If all this did was generate the base model with the associations andvalidations then that would definitely relieve some initialdevelopment time and possibily worthy of core inclusion.It can't really be included with script/generate model since
@Andrew and Kyle: I've started a magic_model_generator that will be released after a foreign key support patch. That'll be a wonderful tool. Not very magical, but useful... non-magically.@DHH and Andrew : I agree with that - in a normal app development, you'll always want a model class and explicit
Its probably a style preference for agile developers as to whether they are
happy to immediately start work with derived associations (like the derived
attr_accessors for fields in ARs now) instead of explicitly defining them.
"Opinions" are great; so is choice. :)
I agree. With Rails, the split
Here are some thoughts I had as a result of the fun from last week: http://www.bencurtis.com/archives/2006/08/rails-is-growing-up/. I'd be delighted to hear any feedback from subscribers to this list.--Benjamin Curtishttp://www.bencurtis.com/http://www.tesly.com/ -- Collaborative test case managem
Done!
On 8/14/06, Kent Sibilev <[EMAIL PROTECTED]> wrote:
Hi,
Since the trac appears to be down, I'm posting this patch to the list.
This patch fixes AWS's unit test suite and makes it up to date with
the latest changes in the actionpack framework.
Can somebody from the rails core team apply i
"bitsweat" has kicked AR/Oracle while it was down...
http://dev.rubyonrails.org/changeset/4767
r4767 | bitsweat | 2006-08-15 16:05:01 -0700 (Tue, 15 Aug 2006) | 1 line
Migrations: uniquely name multicolumn indexes so you don
"bitsweat" has given AR/Oracle some love, but it's still unhappy...
http://dev.rubyonrails.org/changeset/4768
r4768 | bitsweat | 2006-08-15 16:51:27 -0700 (Tue, 15 Aug 2006) | 1 line
Make indexed columns easy to extract from
I added additional fixes to recursively cascading associations. This
patch includes fixes for has_many :through and habtm (with tests) as
well as tests for has_one and belongs_to. I created some new models
for testing and added the required sql for creating and dropping the
tables. This
Background: I've got an app that doesn't use the DB (long story..)
and running tests is certainly a chore when you don't have any DB
connection.
Also, due to the way rails extends TestCase, running tests in your
suite that aren't tied to AR can have issues.
Part of the solution involved re
Is this a patch against trunk, which includes your previous patch?On 8/15/06, Rich Collins <[EMAIL PROTECTED]
> wrote:I added additional fixes to recursively cascading associations. This
patch includes fixes for has_many :through and habtm (with tests) aswell as tests for has_one and belongs_to.
I propose that rails' test class inherits from, rather than extends,
Text::Unit::TestCase.
Opinions?
That's been a long-standing desire. Especially also to clean up the
cruft in functional test controllers.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www
On 8/15/06, court3nay <[EMAIL PROTECTED]> wrote:
Background: I've got an app that doesn't use the DB (long story..)and running tests is certainly a chore when you don't have any DBconnection.Also, due to the way rails extends TestCase, running tests in your
suite that aren't tied to AR can have is
Yes. I did an update before I did the diff.On Aug 15, 2006, at 9:18 PM, Jeremy Kemper wrote:Is this a patch against trunk, which includes your previous patch?On 8/15/06, Rich Collins <[EMAIL PROTECTED] > wrote:I added additional fixes to recursively cascading associations. This patch includes fix
On 8/15/06, Rich Collins <[EMAIL PROTECTED]> wrote:
Yes. I did an update before I did the diff.Ah, appears the attachment is the same diff as the last patch. Could you pass along the new patch?Thanks,jeremy
On Aug 15, 2006, at 9:18 PM, Jeremy Kemper wrote:
Is this a patch against trunk, which incl
15 matches
Mail list logo