Are you sure rake db:migrate run fine, because the default_tags were added to 1.8devel a few months ago (Hendriks tree branched off that tree). It should be a column for projects in your db.
Reinier > -----Oorspronkelijk bericht----- > Van: [email protected] [mailto:tracks- > [email protected]] Namens Luis Villa > Verzonden: maandag 10 augustus 2009 18:57 > Aan: Henrik Bohre > CC: track-discuss > Onderwerp: [Tracks-discuss] Re: Action dependencies > > On Sun, Jun 28, 2009 at 8:08 AM, Luis Villa<[email protected]> wrote: > > Anyway, I'll definitely be upgrading my home install to this after > the bar exam! > > So... this hasn't worked as cleanly as I'd like :) > > Disclaimer: the DB on my home tracks install is a little borked > (having been dumped from mysql to sqlite, with some munging along the > way) and this may be related. But I'm posting it here in case it is > not specific to my case. > > So, if I start from a blank 1.7 sqlite.db and do a rake migrate, the > new branch appears to load OK (I have not tested extensively.) > > If I copy over my old DB, rake db:migrate appears to work fine. > However, when I try to open the app, I get: > > NoMethodError (undefined method `default_tags' for > #<Project:0x7f4b5889e798>): > > /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:260:i > n > `method_missing' > /app/controllers/application.rb:137:in > `build_default_project_tags_map' > /app/controllers/application.rb:137:in `reject' > /app/controllers/application.rb:137:in > `build_default_project_tags_map' > /app/controllers/todos_controller.rb:864:in `render_todos_html' > ... > > This is with the latest git clone of your branch, henrik. Any ideas? > > Luis > _______________________________________________ > Tracks-discuss mailing list > [email protected] > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
