On Fri, Jul 3, 2009 at 3:35 PM, Rafael
Roque<[email protected]> wrote:
>
> Browsing through the acts_as_versioned.rb file I found the following:
>
> self.versioned_table_name = options[:table_name] ||
> "#{table_name_prefix}#{Inflector.underscore(Inflector.demodulize(class_name_of_active_record_descendant(self)))}_versions#{table_name_suffix}"
>
> Is it what I must change?

That same line in my version is:
self.versioned_table_name = options[:table_name]  ||
"#{table_name_prefix}#{base_class.name.demodulize.underscore}_versions#{table_name_suffix}"

I think you are using an old version and should upgrade
http://github.com/technoweenie/acts_as_versioned

Andrew Timberlake
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings

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