@woto From what I see, there are few foreign developers in China because of the salary and language. And ruby is not very popular in China. As a result, there is only one or two recruitment information per month in RubyChina; you can see it here.
The good news is that Chinese companies and the government don't care about your nationality. They will NOT ban you because of Russian citizenship.
It seems you are a very seasoned developer, that's great; I think many employers would like to contact you if you can speak some Chinese. I know some companies spend years finding a good rails developer.
I hope here will help you.
This was the first time I knew that a European developer was looking for a job in China. It seems the world is changing .
Although I can't help too much, I suggest you leave more information to help recruiters in RubyChina get to know you better, such as your working experience, skill stack, your Github, and so on.
我读 unless 的逻辑的时候脑子里会自动翻译成 if !xxx
醪糟
边喝酒边敲代码,细想下还有点诗意啊
要用文件系统来存附件的话,docker 容器应该要配个数据卷吧。
点赞。当初在 BOSS 上聊过,感觉老哥招人还是挺有诚意。不过因为 BOSS 的消息丢失没有看到面试消息(顺便吐槽下 BOSS 有时候真坑),于是去了另一家。没想到现在还在招人
试试 asdf。我现在逐步用 asdf 取代 rvm,主要本地环境中的 python,nodejs,ruby 都需要个版本管理工具,恰好 asdf 都支持,正好统一了
排名改了之后俺也上榜了。激动
我当时也遇到了这个问题。重新设置 config.file_watcher = ActiveSupport::FileUpdateChecker 后,改了 ruby 代码也能正常同步,但是 js 文件一直不能自动编译。迁移到 wsl 内部文件系统就又快又正常了
谢了老哥,果然有这样的 gem
好总结。以前试过这种方案,觉得稍微有点 hack 就没这么整 。
捉个虫:
tag_ids = ActsAsTaggableOn::Tag.where(name: 'Rails').pluck(:id)
应该是
tag_ids = ActsAsTaggableOn::Tag.where(name: tag_name).pluck(:id)
顺便问一下楼主:ActsAsTaggableOn::Tag 是在模型下建的命名空间么,还是用的 gem 的要求
顺手在 rails 6.1.1 上试了下,完全没复现。一切正常
老哥,我感觉你链接都贴错了
module Pipline
def self.included(base)
class << base
attr_accessor :seg_column_name
end
end
end
class A
include Pipline
self.seg_column_name ='a'
end
不懂就问:数仓具体是干啥的
楼上老哥这么一提,我倒是想起那个赌博老哥了,连载好多年,中途也是培训上岸,最后好像忍不住又亏回去了,大风大浪的故事。
成年人全都要,先搞 rails 后搞 go
没有必要了吧。除非你打算把 docker 当虚拟机用。。。我见过在 docker 里先装 linux,再装 rbenv,再装 ruby 的情况(当然还有一大堆依赖),整个镜像大概 4G。完全不理解这样搞的好处。
没看到 ruby 代码勒?
楼主敢写这么多东西出来,我还是相信楼主的水平
希望楼主能把一些高级、架构课程写一些样章出来。直接扔几千块钱万一听不懂咋整
谢谢回复,因为是在 wsl2 里开发,所以没有把应用放在 docker。你说的第二点倒是很有启发,难怪 vscode 每次都要提醒我
不懂就问:将应用放在宿主机,数据库、redis 之类的依赖放 docker,这种开发模式有什么风险么
set_new - set_old
楼上好多坑友。。。
一个项目要是 gem 多了,会发现底层有各种第三方的网络库,各用各的。大家都不想用自带的
提示信息中就包含了解决方案。。。 add the following to your environment configuration: config.hosts << "awesome_project.local"
关键词:女朋友
默认检测到循环重定向 会抛异常。也可以手动关闭跟踪重定向功能,自己处理重定向
net/http支持更多操作,但需要手动跟踪重定向。简单 get 请求习惯用 open-uri