I'm new on rails, and I encountered a problem when I am doing a tutorial: that's a simple application without a database.
First "rails simple_app" And modify "enviroment.rb" # Skip frameworks you're not going to use. To use Rails without a database, # you must remove the Active Record framework. config.frameworks -= [ :active_record, :active_resource, :action_mailer ] However, after that when I execute the command "ruby script/generate model Item" there will be an error raised: uninitialized constant ModelGenerator::ActiveRecord Anyone knows the origin of the problem, and how to solve it BTW: I am using rails 2.3.4 and ruby 1.8.7 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-talk@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 -~----------~----~----~----~------~----~------~--~---