Steve Nelson wrote:
> Hello Marnen,
> 
> I appreciate your insight - it sounds like the voice of experience to
> me.
> :-)
> 
> I don't actually intend to use this "log_number" attribute as a key in
> the database. An Assignment will always be unambiguously identified by
> the id it was "born" with. The log number is important in the analog
> end of our business, but as far as the database goes it's  of similar
> importance to, say, the floor number in the client's shipping address
> if that makes sense.

Then stop using the log_number in the analog end!  Just use the primary 
key.  Give it out when the record is created, use it as you were using 
the log_number before...you get the idea.

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