Yeah, try running heroku rake db:migrate instead of db:schema:load. There's a migration that adds the initial necessary roles to the DB.
Thanks, Bruno On Thu, Jun 24, 2010 at 2:26 PM, Edward Funger <[email protected]> wrote: > I see. I checked Role.all and it returned []. Should this be happening > even after I run rake db:schema:load on Heroku? or do I need to > populate the table myself? > > On Jun 24, 10:56 am, Bruno Bornsztein <[email protected]> > wrote: > > Looks to me like your roles table didn't get populated. Check your > database, > > or use the heroku console to make sure Role.all returns something. > > > > Thanks, > > Bruno > > > > > > > > On Wed, Jun 23, 2010 at 7:57 PM, Edward Funger <[email protected]> > wrote: > > > I've deployed my application to Heroku successfully and now I'm trying > > > to configure ActionMailer. I followed steps from a few different > > > sources and every time after setting up my account and hitting submit > > > I received "The page you are looking for doesn't exist" page. I > > > thought that I had done something wrong when configuring ActionMailer > > > so I changed everything back to default settings but I continued to > > > receive the same error. Here is my error log, any help would be > > > greatly appreciated. > > > > > ActiveRecord::RecordNotFound (Couldn't find a Role identified by > > > (:member)): > > > vendor/plugins/community_engine/plugins/enumerations_mixin/lib/ > > > active_record/acts/enumerated.rb:125:in `enforce_strict_literals' > > > vendor/plugins/community_engine/plugins/enumerations_mixin/lib/ > > > active_record/acts/enumerated.rb:56:in `send' > > > vendor/plugins/community_engine/plugins/enumerations_mixin/lib/ > > > active_record/acts/enumerated.rb:56:in `[]' > > > vendor/plugins/community_engine/app/controllers/users_controller.rb: > > > 108:in `create' > > > haml (3.0.12) lib/sass/plugin/rack.rb:41:in `call' > > > /home/heroku_rack/lib/static_assets.rb:9:in `call' > > > /home/heroku_rack/lib/last_access.rb:25:in `call' > > > /home/heroku_rack/lib/date_header.rb:14:in `call' > > > thin (1.0.1) lib/thin/connection.rb:80:in `pre_process' > > > thin (1.0.1) lib/thin/connection.rb:78:in `catch' > > > thin (1.0.1) lib/thin/connection.rb:78:in `pre_process' > > > thin (1.0.1) lib/thin/connection.rb:57:in `process' > > > thin (1.0.1) lib/thin/connection.rb:42:in `receive_data' > > > eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine' > > > eventmachine (0.12.6) lib/eventmachine.rb:240:in `run' > > > thin (1.0.1) lib/thin/backends/base.rb:57:in `start' > > > thin (1.0.1) lib/thin/server.rb:150:in `start' > > > thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start' > > > thin (1.0.1) lib/thin/runner.rb:173:in `send' > > > thin (1.0.1) lib/thin/runner.rb:173:in `run_command' > > > thin (1.0.1) lib/thin/runner.rb:139:in `run!' > > > thin (1.0.1) bin/thin:6 > > > /usr/local/bin/thin:20:in `load' > > > /usr/local/bin/thin:20 > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "CommunityEngine" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<communityengine%[email protected]> > <communityengine%2Bunsubscribe@ googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/communityengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en.
