I am having the same exact problem. I can confirm that the Rails 2.1 branch of ActiveScaffold is checked out to the vendor/plugins dir of my Rails 2.1.1 app.
This happens when I try to run script/server: undefined method `datetime_selector' for class `ActionView::Helpers::InstanceTag' On Nov 17, 3:17 pm, BE ELEET <[EMAIL PROTECTED]> wrote: > On 14 Lis, 23:28, hoenth <[EMAIL PROTECTED]> wrote: > > > > > After installing the ActiveScaffold gem, I received the following > > error when running a "generate rspec_model" > > > c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ > > activesupport-2.1.0/lib/active_support/core_ext/module/aliasing.rb: > > 31:in `alias_method': undefined method `datetime_selector' for class > > `ActionView::Helpers::InstanceTag' (NameError) > > from c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ > > activesupport-2.1.0/lib/active_support/core_ext/module/aliasing.rb: > > 31:in `alias_method_chain' > > from C:/projects/classroomparent/vendor/plugins/active_scaffold/lib/ > > extensions/name_option_for_datetime.rb:20 > > from c:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:27:in `gem_original_require' > > from c:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:27:in `require' > > from c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ > > activesupport-2.1.0/lib/active_support/dependencies.rb:509:in > > `require' > > from c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ > > activesupport-2.1.0/lib/active_support/dependencies.rb:354:in > > `new_constants_in' > > from c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ > > activesupport-2.1.0/lib/active_support/dependencies.rb:509:in > > `require' > > from C:/projects/classroomparent/vendor/plugins/active_scaffold/ > > environment.rb:63 > > ... 22 levels... > > from > > c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/ > > lib/commands/generate.rb:1 > > from c:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:27:in `gem_original_require' > > from c:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:27:in `require' > > from script/generate:3 > > Try this. > > git clone git://github.com/activescaffold/active_scaffold > cd active_scaffold > git checkout origin/rails-2.1 > > Greetings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
