I was able to get the tutorial running yesterday and also adapt the code to Marty's new changes today. I've gotten far used to installing gems and then having them available from the Rails application. The trick to getting it running came from the online tutorial:
script/plugin install svn://rubyforge.org/var/svn/activewarehouse/activewarehouse/trunk Once I did this, I had the cubes up and drilling down. About your refactorings, will this make it easy to expose to the user a way to change the drilldown paths? For example, instead of year --> quarter --> months, be able to run year --> months Michael Marty Haught wrote: > Michael, > > I personally haven't followed the tutorial recently but I'm in the > middle of doing some serious refactoring on the view components of > ActiveWarehouse and will most likely need to redo a tutorial once I > get there. Sadly, I probably won't get all this done for another > couple weeks. Hopefully Anthony will have some time to respond. I > know he just switched jobs and has been super busy in the last two > weeks. > > Cheers, > Marty > > On Jan 30, 2008 6:08 PM, Michael Lang <[EMAIL PROTECTED]> wrote: > >> I am trying to run the demo by following this article: >> >> http://anthonyeden.com/2006/12/20/activewarehouse-example-with-rails-svn-logs >> >> I cheated like an impatient reader jumping to last page of a mystery >> novel and pulled down the code: >> >> |svn checkout >> svn://rubyforge.org/var/svn/activewarehouse/rails_warehouse/trunk >> >> I then pulled down the rails logs with: >> >> ~/rails_warehouse/db/etl/download_rails_log.rb >> >> (since the download_aw_log.rb resulted in an empty input/aw_log.xml file) >> >> I then changed the *.ctl files to reflect input/rails_log.xml and >> successfully loaded the data into the tables, so I'm pretty sure I have >> that much working fine. >> >> However, I noticed a couple issues with the app itself... >> >> The checked out code differs from the article in that the Revisions >> Controller has an empty index and a by_author function that has same >> code as the index def whereas the article just has the index method. >> >> There are no rake warehouse:xxxx tasks. "rake -T | grep warehouse" >> returns an empty set. >> >> When I follow the article, generating new controllers, views, models, >> and run the code, I get for http://localhost:3000/revision_reports the >> following: >> >> NameError in Revision reportsController#index >> >> uninitialized constant RevisionReportsController::ActiveWarehouse >> >> RAILS_ROOT: script/../config/.. >> Application Trace | Framework Trace | Full Trace >> >> /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in >> `const_missing' >> app/controllers/revision_reports_controller.rb:4:in `index' >> >> >> I have the following (subset) of gems installed: >> >> activewarehouse (0.3.0) >> activewarehouse-etl (0.9.0) >> adapter_extensions (0.4.0) >> mongrel (1.0.1) >> rails (1.2.3, 1.1.6) >> rails_sql_views (0.6.1) >> >> ...and am running the following Ruby version: >> ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1] >> >> (on a Macbook Pro, Tiger) >> >> Any ideas what might be the problem? >> >> Regards, >> >> Michael >> | >> _______________________________________________ >> Activewarehouse-discuss mailing list >> Activewarehouse-discuss@rubyforge.org >> http://rubyforge.org/mailman/listinfo/activewarehouse-discuss >> >> > > _______________________________________________ Activewarehouse-discuss mailing list Activewarehouse-discuss@rubyforge.org http://rubyforge.org/mailman/listinfo/activewarehouse-discuss