已升级,部分 gem 兼容有问题;
ransack
有 bug,作者正在修复中。
然后莫名其妙需要加上这两个,否则会报找不到某个常量的错误。
gem 'tzinfo'
gem 'tzinfo-data' # for tzinfo
app/views/projects/show.html.erb
app/views/projects/show.html+tablet.erb
app/views/projects/show.html+phone.erb
怎么跟 iOS 开发多设备多 nib 文件的开发那么像了。