NameError: uninitialized constant Caring::Utilities::UrlUtils::Generator
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:440:in `load_missing_constant'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:80:in `const_missing'
from /Users/jeff/Desktop/papernstitch/vendor/plugins/acts_as_url_param/lib/url_utils.rb:43:in `int_generator'
from /Users/jeff/Desktop/papernstitch/vendor/plugins/acts_as_url_param/lib/url_utils.rb:60:in `uniquify'
from /Users/jeff/Desktop/papernstitch/vendor/plugins/acts_as_url_param/lib/acts_as_url_param.rb:127:in `compute_url_param'
from /Users/jeff/Desktop/papernstitch/vendor/plugins/acts_as_url_param/lib/acts_as_url_param.rb:134:in `compute_url_param'
from /Users/jeff/Desktop/papernstitch/vendor/plugins/acts_as_url_param/lib/acts_as_url_param.rb:164:in `set_url_param'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:178:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:178:in `evaluate_method'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:166:in `call'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:93:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:92:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:92:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:92:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:276:in `run_callbacks'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/callbacks.rb:344:in `callback'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/callbacks.rb:312:in `valid?'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/validations.rb:1008:in `save_without_dirty'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/dirty.rb:79:in `save_without_transactions'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/transactions.rb:229:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/transactions.rb:182:in `transaction'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/transactions.rb:196:in `save'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/transactions.rb:196:in `save'
Model is as follows:
class Shop < ActiveRecord::Base
validates_presence_of :title, :url, :description, :message => "can't be blank"
acts_as_url_param :handle, :from => :title, :on => :create
end
Rails 2.3.3 on MRI Ruby 1.8.7
Not sure if there are plans to update this for Rails 2.3. Figured I would report it just in case.
Thanks!