Works fine for me thanx to ecom.rb

module Ecom
  def self.table_name_prefix
    'ecom_'
  end
end

make sure that you have

class Ecom::Cart < ActiveRecord::Base
end

instead of

module Ecom
 class Cart < ActiveRecord::Base
 end
end

in your ecom/cart.rb

Robert Pankowecki
http://robert.pankowecki.pl

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to