【问题标题】:uninitialized constant ActiveSupport::Concern未初始化的常量 ActiveSupport::Concern
【发布时间】:2011-10-14 03:25:39
【问题描述】:

我得到以下链接来解决与类和实例方法相关的问题。 http://www.fakingfantastic.com/2010/09/20/concerning-yourself-with-active-support-concern/

模块通知助手 扩展 ActiveSupport::Concern 模块类方法 def my_class_method # ... 结尾 结尾 模块实例方法 def my_instance_method # ... 结尾 结尾 结尾

但我收到 uninitialized constant ActiveSupport::Concern 错误。我正在使用Rails 2.3.5Ruby 1.9.2p180

【问题讨论】:

    标签: ruby-on-rails activerecord helpers


    【解决方案1】:

    此模块仅适用于 Rails 3 及以上版本

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-07-30
      • 2012-01-21
      • 1970-01-01
      • 2011-07-07
      • 1970-01-01
      • 2011-10-17
      • 1970-01-01
      相关资源
      最近更新 更多