RichardOnRails wrote:
> Thanks for an additional response, Marnen.
> 
>> Not quite.  You do not need to change your model at all -- it will
>> figure out that the extra DB fields are there.
> 
> Interesting ... may I conclude that a Rails app, at start-up,
> consults the database the app points to and determines the fields and
> their types of every table?

You may indeed.

> 
>> script/generate model and controller will not help.  script/generate
>> scaffold might, but you're better off modifying your views manually.
> 
> I anticipated this response and decided to forge ahead and make
> changes manually.  I ran into a problem after I added some erb
> comments to four CRUD modules in app\views\expenses.  I'm working on
> that right now.

"Module" has only one meaning in a Ruby context, and I doubt that that's 
what you're referring to.  What's the actual problem?

> 
>> > The
>> > question about whether I use git or my external hard drive are
>> > tangential to the issue I'm  dealing with.  Likewise, whether I use
>> > formal or ad hoc testing
>>
>> Not really.  ...
> 
> I'm not disputing the value of Agile Programming.  But clients
> wouldn't tolerate me taking time to employ "best practices of to last
> century" 

It is not up to your clients.  It is up to you, as a developer, to 
employ the best practices you know how to use.  If you can't sell that 
to your clients, then do you really want to work for clients who don't 
understand the importance of doing it right?

(Anyway, if you take the time to set up testing, you'll probably get the 
project done sooner.)

> and my current "client", my son,  doesn't want me to take
> time for them now:  he wants results,  and I am responding to his
> wishes.

No, you're not.  You're giving him hacked, brittle results.  That's 
worse than none at all.

I used to develop without tests too.  Never again.

> 
> You have my word that I'll get Agile-ized after we reach a working
> version 1 (or 1.1 ...).  I promise :-)

That will be too late.  But better late than never.

> 
> Thanks to you and Colin for spending time on a wretch like me :-),
> Richard

The only thing wretched about you is your continual attempts to justify 
bad practices.  Just stop, reprioritize, and do it right.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to