preload, eager_load, includes 和 joins 的区别
tip
Posted on Feb 14, 2019
为 Rails 的 Rake 添加 sandbox 模式
rake
Posted on Nov 27, 2018
Ruby 中的状态机
gems
Posted on Nov 27, 2018
Rails 项目避免用户使用弱密码
tip
Posted on Nov 27, 2018
Rails 的 CurrentAttributes
advanced
Posted on Oct 21, 2018
重读 Rails Guide 2
learningnote
Posted on Sep 29, 2018
Rails 的 MessageVerifier 开发无状态的令牌功能
advanced
Posted on Sep 24, 2018
Rails 日志中记录当前用户
debug
Posted on Sep 20, 2018
使用 create_or_find_by 避免并发问题
tip
Posted on Sep 20, 2018
控制台的一些小技巧
debug
Posted on Aug 30, 2018
在 controller 中使用 return 的方法
tip
Posted on Aug 30, 2018
在单一的 Ruby 脚本里面使用 bundle 安装 gem
tip
Posted on Aug 13, 2018
Rails API 项目中的 Error 处理
api
Posted on Aug 9, 2018
Rails 5.2 的 Redis Cache Store
caching
Posted on Jul 30, 2018
重读 Rails Guide 1
learningnote
Posted on Jul 12, 2018
Rails 中的多表继承
advanced
Posted on Jun 20, 2018
unassociated records in rails 5
rails5
Posted on Jun 13, 2018
让 Content-Type 默认使用 application/json
api
Posted on Jun 5, 2018
Rails 中的单表继承
advanced
Posted on May 31, 2018
RSpec tips
testing
Posted on May 28, 2018
Rails 的事务
tip
Posted on May 13, 2018
Better Gemfile
tip
Posted on Mar 23, 2018
Debug Gem
tip
Posted on Mar 22, 2018
在 Rails 中使用 JavaScript
javascript
Posted on Jan 26, 2018
lib/ 目录下应该放什么代码
tip
Posted on Jan 24, 2018
Policy Objects
refactoring
Posted on Jan 15, 2018
Decorators
refactoring
Posted on Jan 2, 2018
Active Job 进阶
rails5
Posted on Nov 30, 2017
Active Job 基础
rails5
Posted on Nov 30, 2017
Marshal.dump and load with ActiveRecord
tip
,
caching
Posted on Jun 17, 2017
Form Object
refactoring
Posted on Jun 11, 2017
Service Object
refactoring
Posted on Jun 4, 2017
Rails 5 Controller Tests
testing
Posted on May 15, 2017
reverse_merge 为方法设置默认参数的技巧
tip
Posted on May 12, 2017
Best way to set a header to all tests using MiniTest
testing
Posted on May 8, 2017
How To Change The View Path Of A Controller In Rails
tip
Posted on Sep 26, 2016
也可以不用 Figaro
tip
Posted on Sep 18, 2016
How to DRY Your Rails Routes
tip
Posted on Sep 11, 2016
使用工具提高 Rails 代码质量
refactoring
Posted on Sep 8, 2016
Creating staging and other environments in Rails
environment
Posted on Aug 25, 2016
Turbolinks 5
rails5
Posted on Aug 15, 2016
Skipping Validations in Ruby On Rails
tip
Posted on Aug 10, 2016
Rails 的锁机制
tip
Posted on Aug 9, 2016
Handling Exceptions
debug
Posted on Aug 1, 2016
Gemfile 中版本号的说明
tip
Posted on May 18, 2016
Active Support Improvements in Rails 5
rails5
,
time
,
enumerable
,
bigbinary
Posted on Feb 22, 2016
测试 Rails 5 的新功能
rails5
Posted on Jan 11, 2016
Rails 中如何获取当前星期数目
time
Posted on Jan 11, 2016
Awesome Low Level Caching for Your Rails App
caching
Posted on Jan 8, 2016
Introduction to Rails 5 Attributes
rails5
Posted on Jan 7, 2016
ApplicationRecord in Rails 5
rails5
Posted on Jan 7, 2016
What's new in Rails 5
rails5
Posted on Oct 4, 2015
Should You Use Scopes or Class Methods?
tip
Posted on Sep 6, 2015
How to use i18n with Rails 4 enums
tip
Posted on Aug 5, 2015
How to return correct HTTP error codes from Ruby on Rails application
tip
Posted on Jun 2, 2015
Define an array condition that selects on dynamic columns
tip
Posted on Jun 1, 2015
RJS, UJS 和 SRJ 的区别
javascript
Posted on May 11, 2015
ActiveSupport MessageVerifier
tip
Posted on Mar 24, 2015
Rails Log
tip
Posted on Feb 26, 2015
Growing Rails Applications in Practice - 6
learningnote
,
refactoring
Posted on Jan 29, 2015
Growing Rails Applications in Practice - 5
learningnote
,
refactoring
Posted on Jan 29, 2015
Growing Rails Applications in Practice - 4
learningnote
,
refactoring
Posted on Jan 28, 2015
Growing Rails Applications in Practice - 3
learningnote
,
refactoring
Posted on Jan 27, 2015
Growing Rails Applications in Practice - 2
learningnote
,
refactoring
Posted on Jan 26, 2015
Growing Rails Applications in Practice - 1
learningnote
,
refactoring
Posted on Jan 24, 2015
Debugging Rails
debug
Posted on Jan 21, 2015
Rake Task 中 invoke 跟 execute 的不同
rake
Posted on Nov 11, 2014
Custom Rake Tasks
rake
Posted on Nov 11, 2014
Guide to Caching in Rails using Memcache
caching
Posted on Nov 2, 2014
Auto-loading lib files in Rails 5
tip
Posted on Oct 16, 2014
Using rails and lost connection to MySQL server during query
tip
Posted on Oct 15, 2014
Rails 中的时间处理
time
Posted on Sep 26, 2014
ActiveRecord::QueryMethods 中 joins 的一种用法
tip
Posted on Sep 9, 2014
Using concat and capture to clean up custom Rails helpers
helper
Posted on Sep 4, 2014
Rails 搭配 minitest 写测试
testing
Posted on Aug 29, 2014
About me
我是一枚铁骨铮铮的打组怒汉!
5分翻译,4分摘抄,1分原创
Golang, Programming, Mac, Github
Categories
Recent Posts
新电脑安装 Ruby
Victor 28 Mar 2024
x-ui 使用 acme 续签证书
Victor 28 Mar 2024
修复 goland 更新后就各种报错
Victor 21 Nov 2023
git 批量删除 tag
Victor 06 Sep 2022
Golang 项目尝试使用六边形架构
Victor 06 Sep 2022