![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
rails
冰凌花花
欢迎来到我的博客, 本人乃互联网行业一枚小小的螺丝钉—非典型程序员妹子.
展开
-
rails hirefire-resource gem
https://help.hirefire.io/article/54-job-queue-ruby-rackhttps://github.com/hirefire/hirefire-resourceThis library provides middleware which you can add to your stack, exposing an HTTP GET end...原创 2019-10-15 09:42:20 · 113 阅读 · 0 评论 -
Rails Array method second/third/second_to_last
http://api.rubyonrails.org/classes/Array.html#method-i-second[27] pry(main)> list = ["a", "b", "c", "d"]=> ["a", "b", "c", "d"][28] pry(main)> list.first=> "a"[29] pry(main)> list.second=原创 2016-12-21 11:41:31 · 359 阅读 · 0 评论 -
Rails 找不到Settings
需要添加gem, gem rails_config原创 2016-03-18 18:09:29 · 628 阅读 · 1 评论 -
OpenSSL Cipher 加密解密 Ruby on Rails
最近在做OpenSSL::Cipher.new的优化:application_controller.rb def decrypter(data) key = ENV['ENCRYPTION_KEY'] iv = ENV['ENCRYPTION_IV'] decipher = OpenSSL::Cipher.new('des3') decipher.dec...原创 2019-08-12 09:05:34 · 1084 阅读 · 0 评论