Hello-
This is a potentially obvious problem. I''m trying to generate a uuid in
one of my models. I poked around and found the uuidtools gem (is there a
better way to generate a uuid?). Here''s the code I''m currently
using:
require ''rubygems''
require ''uuidtools''
class Subscription < ActiveRecord::Base
  def initialize
    self.guid UUID.timestamp_create.to_s
  end
end
It seems straight-forward, but I keep getting this error:
"no such file to load -- uuidtools"
I installed the gem previously using "gem install uuidtools" and it
seemed to be successful. What am I missing?
Regards-
Eric
-- 
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---