Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6139103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:56:53+00:00 2026-05-23T17:56:53+00:00

I have app1 as: ~/Code/notifier/app1(master) $ heroku config BUNDLE_WITHOUT => development:test DATABASE_URL => postgres://abs-@ec2-50-19-213-76.compute-1.amazonaws.com/uobbhrmyhj

  • 0

I have app1 as:

~/Code/notifier/app1(master) $ heroku config
BUNDLE_WITHOUT      => development:test
DATABASE_URL        => postgres://abs-@ec2-50-19-213-76.compute-1.amazonaws.com/uobbhrmyhj
LANG                => en_US.UTF-8
RACK_ENV            => production
SHARED_DATABASE_URL => postgres://abs-@ec2-50-19-213-76.compute-1.amazonaws.com/uobbhrmyhj
~/Code/notifier/app1(master) $ heroku console
Ruby console for app1.heroku.com
>> User
=> User(id: integer, email: string, encrypted_password: string, reset_password_token: string, reset_password_sent_at: datetime, remember_created_at: datetime, sign_in_count: integer, current_sign_in_at: datetime, last_sign_in_at: datetime, current_sign_in_ip: string, last_sign_in_ip: string, confirmation_token: string, confirmed_at: datetime, confirmation_sent_at: datetime, created_at: datetime, updated_at: datetime)
>> 

and app2 as:

~/Code/notifier/app2(master) $ heroku config
BUNDLE_WITHOUT      => development:test
DATABASE_URL        => postgres://abs-@ec2-50-19-213-76.compute-1.amazonaws.com/uobbhrmyhj
LANG                => en_US.UTF-8
RACK_ENV            => production
SHARED_DATABASE_URL => postgres://abs-@ec2-50-19-213-76.compute-1.amazonaws.com/uobbhrmyhj
~/Code/notifier/app2(master) $ heroku console
Ruby console for app2.heroku.com
>> User
NameError: uninitialized constant User
        /home/heroku_rack/lib/console.rb:150:in `block (2 levels) in <top (required)>'
        /home/heroku_rack/lib/console.rb:140:in `eval'
        /home/heroku_rack/lib/console.rb:140:in `_eval'
        /home/heroku_rack/lib/console.rb:73:in `block in process_command'
>> 

they both have th esame database URL but “User” is not recognized in the second one. Following the Heroku newsletter, this should work.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:56:54+00:00Added an answer on May 23, 2026 at 5:56 pm

    I don’t think the problem is at database level, but in the app2 app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The two apps have the same sharedUserId. When I use this code in app1
I have a C# console app App1 that reads a row of data from
I have a ClickOnce environment like this: \\Fileserver\ClickOnceApps\App1.application C:\Documents and Settings\user\Start Menu\Programs\publisher\app1.appref-ms My understanding
I have two applications under tomcat/webapps folder. tomcat/webapps/App1 tomcat/webapps/App2 Both applications share the same
Here's my problem at a high level: We have two business applications. App1 inputs
Have you guys had any experiences (positive or negative) by placing your source code/solution
I have cyclical import issues adding some new code to a very large app,
I have added multiple app.config (each with a differet name) files to a project,
Now I have several wars and each runs when typing in browser localhost:8080/app1 or
I have following code using (AdventureWorksEntities database = new AdventureWorksEntities()) But it is showing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.