`
FZtree
  • 浏览: 105435 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

ActiveSupport::Notifications

 
阅读更多

http://blog.csdn.net/hexudong08/article/details/8020764

分享到:
评论

相关推荐

    小型而快速的数据库清理器-Ruby开发

    功能无需猴子打补丁-使用ActiveSupport :: Notifications和Mongo :: Monitoring到c DatabaseFlusher database_flusher是一个受database_cleaner和database_rewinder启发的小型且快速的数据库清理器。 功能无需猴子打...

    yard-activesupport-concern:使用 ActiveSupport 处理模块的 YARD 插件

    YARD ActiveSupport::关注插件 这是一个扩展,它为使用ActiveSupport::Concern (在 Rails 项目中非常频繁)的模块提供支持。 这是此类模块的示例: module M extend ActiveSupport :: Concern included do # @!...

    activesupport_notifications_backport

    ActiveSupport::Notifications 向后移植 这是 ActiveSupport::Notifications for Rails 2.3 的后向移植。 就这样!

    mux-rails:与Mux一起使用的Rails引擎

    使用Mux::Client创建资产,并使用Mux::Notifications (基于ActiveSupport::Notifications API构建)来处理传入的Webhook请求。 安装 将此行添加到您的应用程序的Gemfile中: gem 'mux-rails' # config/routes.rb...

    activesupport:分叉的定制导轨修复,请不要使用

    $ gem install activesupport 可以在GitHub上的Rails项目中下载源代码: 许可证 主动支持是根据MIT许可发布的: 支持 API文档位于: Ruby on Rails项目的错误报告可在此处提交: github.com/rails/rails/issues...

    Rails实现字段加密存储

    ActiveSupport::MessageEncryptor 是 Rails 基于 openssl 封装实现的一个类,可用于对一个对象进行加密、解密操作。例如: salt = SecureRandom.random_bytes(64) key = ActiveSupport::KeyGenerator.new('password...

    riak-cache:riak-cache 是一个 ActiveSupport

    riak-cache是ActiveSupport::Cache::Store一个实现, ActiveSupport::Cache::Store在 Riak 中存储缓存值。 如果您已将 Riak 配置为使用内存后端,这将特别有用。 依赖关系 riak riak-cache需要 ActiveSupport 3.x ...

    super_module:SuperModule允许以与超类相同的方式定义类方法和方法调用,而无需使用def included(base)。 通过提供更轻松的语法,这也继承了ActiveSupport :: Concern

    超级模块1.4.1 (注意:尽管有高级版本号,但是super_module的想法是高度试验性的,并且在很大程度上依赖于元编程,因此,除非您确实需要它,否则在足够的情况下始终喜欢使用纯Ruby模块) 使开发人员即使想要继承...

    ROR绿色最新环境(2013/3/10)

    #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x164feb> Rack::Runtime Rack::MethodOverride ActionDispatch::RequestId Rails::Rack::Logger ActionDispatch::ShowExceptions ActionDispatch::...

    memoist:主动支持

    Memoist是ActiveSupport :: Memoizable的提取。 从2011年6月开始,不推荐使用ActiveSupport :: Memoizable。 但是我喜欢它,因此我打算保持它的生命。 用法 只需使用Memoist模块进行扩展 require 'memoist' class ...

    马具

    线束还从ActiveSupport::Notifications收集指标并将其转发给收集器。 线束只假设一件事:收集器可以执行适当的度量标准聚合和统计。 示例:使用statsd将计算第90个百分位数和平均值。 线束专为交通流量很大的应用...

    secure_api_with_message_verifier:使用 ActiveSupport 保护 API

    用的ActiveSupport :: MessageVerifier安全API 此应用程序展示了如何使用 ActiveSupport::MessageVerifier 保护您的 API。 希望对你有帮助!

    activesupport-taggedlogging-json

    Activesupport :: Taggedlogging :: Json 欢迎使用您的新宝石! 在此目录中,您将找到能够将Ruby库打包为gem所需的文件。 将您的Ruby代码放在文件lib/activesupport/taggedlogging/json 。 要试验该代码,请运行bin...

    Shoulda:使手指和眼睛的测试变得容易

    ActiveSupport :: TestCase context "associations" do should have_many ( :posts ) end context "validations" do should validate_presence_of ( :email ) should allow_value ( "user@example.com" ) . ...

    activesupport.cr:ActiveSupport的水晶端口

    对Crystal的rails activesupport的端口。 安装 将其添加到Projectfile deps do github " dbackeus/activesupport " end 用法 require " activesupport " 待办事项:在此处写库用法 贡献 分叉( ) 创建功能分支...

    reuse_query_results:重用mysql查询结果

    重用查询结果提高开发环境速度。 插入更新和删除记录时重用查询结果并清除缓存。 没有更多的数据库请求。... # initializers/reuse_query_results.rbmemcache = ActiveSupport :: Cache . lookup_store ( :dalli_store

    minitest-spec-rails:使Rails使用MiniTest

    它通过强制ActiveSupport :: TestCase利用MiniTest :: Spec :: DSL来实现此目的。 用法 使用默认Rails测试结构的现有或新的Rails应用程序都可以简单地放入minitest-spec-gem并开始在新的规范DSL中编写其测试。 由于...

    rails_log_autotruncator:自动截断 Rails 测试和开发日志文件

    rails_log_autotruncator 是用于限制日志文件大小的 ActiveSupport::BufferedLogger 的简单(猴子)补丁。 如果您只是不希望 Rails 项目开发或测试日志文件变大,请使用它。 免责声明 对于 ruby​​ 1.9.3 及更高...

    开发挑战

    DevHiringChallenge v1.0 这是一个针对ateliware招聘挑战的示例应用程序...: Unit和ActiveSupport :: TestCase下开发的可以通过以下方式创建测试数据库rails db:create RAILS_ENV=test并迁移使用rails db:migrate RAILS

    strings-case:在不同情况下转换字符串

    ActiveSupport :: Inflector . underscore ( "supports IPv6 on iOS 14.4?" ) # => "supports i_pv6 on i_os 14.4?" 相反, Strings::Case旨在将任何字符串转换为预期的大小写: Strings :: Case . snakecase ( ...

Global site tag (gtag.js) - Google Analytics