Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onboarding_controller.rb:8:in `index' #1517

Closed
aximuseng opened this issue Nov 6, 2019 · 5 comments
Closed

onboarding_controller.rb:8:in `index' #1517

aximuseng opened this issue Nov 6, 2019 · 5 comments

Comments

@aximuseng
Copy link

Local development worked fine - tried to deploy to production and it crashes with this exception:

onboarding_controller.rb in index at line 8

onboarding_controller.rb:8:in `index'

  def index
    @user = User.first
    @user.name = ""
    @user.email = ""
    @user.password = ""
  end

Seems to be the helpy_onboarding gem. I can't seem to find this issue reported anywhere and wondering if I am missing something obvious here.

@aximuseng
Copy link
Author

Did some digging - the seed file didn't run on deploy.

@scott
Copy link
Member

scott commented Nov 7, 2019

Yep I was gonna suggest that as a likely cause, glad you got it running!

@aximuseng
Copy link
Author

For future reference or anyone else down the road - should that seed not have run automatically? I had no issues on my local dev version before I pushed it.

@scott
Copy link
Member

scott commented Nov 7, 2019

if you run bundle exec rake db:setup it should run the seed. Not sure how you deployed?

@aximuseng
Copy link
Author

I need to confirm - I swear I didn't run that locally and it just worked. Either way all good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants