【发布时间】: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.5 和Ruby 1.9.2p180
【问题讨论】:
标签: ruby-on-rails activerecord helpers