Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
徐世成
@58383788
Member
NO. 15934 / 2014-11-15

[email protected]
1 Topics / 11 Replies
0 Followers
4 Following
42 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    非常感谢楼上所有人的帮助和指导。我会加紧学习的.感谢你们抽出宝贵的时间。谢谢!

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #27 楼 @springwq 好的我升级一下版本。有点郁闷.版本影响这么大。非常感谢指导

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #24 楼 @springwq 尴尬了..改了 users_helper 后确实顺利跑起来了. 我开始学习时候是想着基础太薄弱,习题先空着,照着教程先做第一遍,有个印象,利于第二遍再细致的学习通篇教程,顺带做所有习题。问题竟然是出在这里. 按照你所说我报错信息没有给全,比较奇怪的是,为什么我的机器上显示不出来呢? argumenterror 这一段我的机器上完全没有显示呢,好奇怪啊

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #21 楼 @chenge OK.wo shishi

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #16 楼 @chenge ~ ruby -v ruby 2.0.0p643 (2015-02-25 revision 49749) [x86_64-darwin14.1.0]

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #16 楼 @chenge 版本为 ruby 2.0.0p643

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #10 楼 @springwq 感谢你的回复,检查过几遍了,和作者的代码没有任何差别,我把项目上传到了 github 上,这是链接https://github.com/58383788/sample_app.git

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015
    Rails.application.configure do
      # Settings specified here will take precedence over those in config/application.rb.
    
      # In the development environment your application's code is reloaded on
      # every request. This slows down response time but is perfect for development
      # since you don't have to restart the web server when you make code changes.
      config.cache_classes = false
    
      # Do not eager load code on boot.
      config.eager_load = false
    
      # Show full error reports and disable caching.
      config.consider_all_requests_local       = true
    
      # Don't care if the mailer can't send.
      config.action_mailer.raise_delivery_errors = false
    
      # Print deprecation notices to the Rails logger.
      config.active_support.deprecation = :log
    
      # Raise an error on page load if there are pending migrations.
      config.active_record.migration_error = :page_load
    
      # Debug mode disables concatenation and preprocessing of assets.
      # This option may cause significant delays in view rendering with a large
      # number of complex assets.
      config.assets.debug = true
    
      # Asset digests allow you to set far-future HTTP expiration dates on all assets,
      # yet still be able to expire them through the digest params.
      config.assets.digest = true
    
      # Adds additional error checking when serving assets at runtime.
      # Checks for improperly declared sprockets dependencies.
      # Raises helpful error messages.
      config.assets.raise_runtime_errors = true
    
      # Raises error for missing translations
      # config.action_view.raise_on_missing_translations = true
    end
    
  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #11 楼 @chenge 抱歉,基础太差了。满脑子雾水.很感谢你的耐心和提醒,我把 Log 删掉了. 我观察了一下 development.rb.你叫我修改的地方其实正是打开的。我补充一些环境和配置的基础吧. 谢谢,确实麻烦了,太新手见笑了

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #4 楼 @chenge 呃?能具体一点吗。我不是很懂,要怎样改正呢?

  • rails 报错"We're sorry, but something went wrong." at May 23, 2015

    #1 楼 @michael0015 是 Log 中的信息吗?

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English