Hi, I'd like to add Rails 3 compatible generator to acts_as_taggable_on gem (all it does is call "migration_template" method) and got a problem with "next_migration_number" method not being implemented.
For ActiveRecord this method is defined in ActiveRecord::Generators::Base class, which inherits from NamedBase class. How can I use it inside my generator, which inherits from Rails::Generators::Base? How to use "hook_for :orm" here, so that the proper "next_migration_number" method definition is be used? Cheers, Szymek -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.