On Aug 2, 6:55 am, "Rajashekar R." <[email protected]> wrote:
> How can i get The MAC address from existing system. Plz send me any Code
> about the MAC Address

You're going to need to be a LOT more specific about what exactly
you're looking for - many modern systems don't even have a definitive
"the" MAC address. For instance, I'm looking at ifconfig for one of my
Slicehost slices and it's got TWO MAC addresses, one for the public IP
and one for the private interface.

BTW, I don't think it's relevant to this question, but the code you
attached in the first copy of this message has a nasty race condition
- two people can easily wind up generating the same value in
`return_no` since you're creating it in the new action but saving it
in the create action. You may want to look into a different way to get
that behavior...

--Matt Jones

-- 
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