<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>mingmingpao (xiaoming)</title>
    <link>https://ruby-china.org/mingmingpao</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>[上海][杨浦] 迈科技诚邀 Ruby 攻城狮 (15k~25k)</title>
      <description>&lt;h2 id="公司介绍"&gt;公司介绍&lt;/h2&gt;
&lt;p&gt;上海迈科技是一家处于成长期的创业公司，致力于 Link Technology To Industry, 投身"中国制造 2025".
2015 年，迈科技创始团队敏锐的洞察国家经济趋势和政策走向，从创办至今一年的时间里，建立了一套前无古人的技术对接新模式，并迅速成为行业标杆。&lt;/p&gt;

&lt;p&gt;公司福利极佳，不限量零食，每月一次团建，技术团队氛围融洽，充满激情，领导 nice.....
不仅能提供你想要的薪资，更有丰厚的股权激励策略。不管您是经验丰富的技术大牛，还是刚刚入坑 Ruby 的“小虾米”, 都可以与我们取得联系！真诚期待您的加入~&lt;/p&gt;
&lt;h2 id="产品主页"&gt;产品主页&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://www.maikeji.cn/" rel="nofollow" target="_blank"&gt;http://www.maikeji.cn/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="薪资待遇"&gt;薪资待遇&lt;/h2&gt;
&lt;p&gt;15k~25k, 可面谈。&lt;/p&gt;
&lt;h2 id="岗位要求"&gt;岗位要求&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;完成前后端接口的制定和开发&lt;/li&gt;
&lt;li&gt;理解产品业务逻辑，保证产品业务逻辑畅通且安全。&lt;/li&gt;
&lt;li&gt;数据库方面开发
要求：&lt;/li&gt;
&lt;li&gt;丰富的 Web 开发经验&lt;/li&gt;
&lt;li&gt;熟悉 HTTP, 以及 Restful 规范.Restful Web API.&lt;/li&gt;
&lt;li&gt;Ruby On Rails、MongDB, git, Elastic Search, Solr(一种或多种)&lt;/li&gt;
&lt;li&gt;Apache\Nginx 服务器运维经验&lt;/li&gt;
&lt;li&gt;熟悉微信公众号开发&lt;/li&gt;
&lt;li&gt;代码规范，习惯良好&lt;/li&gt;
&lt;li&gt;本科及本科以上，计算机相关学历&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="联系我们"&gt;联系我们&lt;/h2&gt;
&lt;p&gt;邮箱：yud@metalab.cn&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Tue, 28 Jun 2016 09:39:05 +0800</pubDate>
      <link>https://ruby-china.org/topics/30380</link>
      <guid>https://ruby-china.org/topics/30380</guid>
    </item>
    <item>
      <title>[上海] 初创企业招聘攻城师 (Ruby)</title>
      <description>&lt;h2 id="技术要求："&gt;技术要求：&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;丰富的网站开发经验，至少熟练使用一框架 (Ruby On Rails 优先)&lt;/li&gt;
&lt;li&gt;熟悉 Nginx\Apache(熟悉 Linux 优先)&lt;/li&gt;
&lt;li&gt;数据库经验丰富（熟悉 MongoDB 优先）&lt;/li&gt;
&lt;li&gt;了解 HTTP 协议、Restful 规范&lt;/li&gt;
&lt;li&gt;有一定的前端知识：Html + Css + JavaScript&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="日常的主线任务："&gt;日常的主线任务：&lt;/h2&gt;
&lt;p&gt;使用 Ruby on Rails 框架完成公司核心产品的开发与维护，优化产品开发、测试、上线流程。 &lt;/p&gt;
&lt;h2 id="福利待遇："&gt;福利待遇：&lt;/h2&gt;
&lt;p&gt;9-15K&lt;/p&gt;

&lt;p&gt;包食补助，法定假日福利、年终奖、项目提成，年度旅游、团队活动&lt;/p&gt;
&lt;h2 id="工作时间："&gt;工作时间：&lt;/h2&gt;
&lt;p&gt;5 天 8 小时工作制&lt;/p&gt;
&lt;h2 id="招聘人数："&gt;招聘人数：&lt;/h2&gt;
&lt;p&gt;1 人&lt;/p&gt;
&lt;h2 id="联系方式："&gt;联系方式：&lt;/h2&gt;
&lt;p&gt;上海市闵行区上海交通大学零号湾创业基地
江小姐：021-54336693
简历投递邮箱：runye@metalab.cn&lt;/p&gt;
&lt;h2 id="关于迈科技MetaLab"&gt;关于迈科技 MetaLab&lt;/h2&gt;
&lt;p&gt;我们是一家致力于中国产业转型的新型互联网公司，主要业务是构建服务于技术对接的线上线下交易体系。公司目前依托上海交通大学，坐落在交大之滨零号湾，目前公司已获数百万元的天使投资，正处于全力以赴的爆发增长期。网站已经上线（www.metalab.cn），现在在积极备战下一代更加完美的产品。如果你对于产业转型感兴趣、对于对接平台感兴趣、对于从 0 到 1 构架一个平台网站感兴趣！欢迎有梦想敢拼的你加入我们，同为中国产业转型努力！！！ &lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Tue, 27 Oct 2015 18:21:58 +0800</pubDate>
      <link>https://ruby-china.org/topics/27850</link>
      <guid>https://ruby-china.org/topics/27850</guid>
    </item>
    <item>
      <title>MongoDB 配置 iptables 限制 ip 访问造成访问不稳定</title>
      <description>&lt;p&gt;我的服务器部署在阿里云上，系统是 Ubuntu Server 14.04，iptables 配置项如下（用的教程是&lt;a href="http://blog.csdn.net/pang040328/article/details/19047573" rel="nofollow" target="_blank"&gt;http://blog.csdn.net/pang040328/article/details/19047573&lt;/a&gt;）：&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;iptables &lt;span class="nt"&gt;-I&lt;/span&gt; INPUT &lt;span class="nt"&gt;-p&lt;/span&gt; tcp &lt;span class="nt"&gt;--dport&lt;/span&gt; 27017 &lt;span class="nt"&gt;-j&lt;/span&gt; DROP
&lt;span class="nb"&gt;sudo &lt;/span&gt;iptables &lt;span class="nt"&gt;-I&lt;/span&gt; INPUT &lt;span class="nt"&gt;-s&lt;/span&gt; 127.0.0.1 &lt;span class="nt"&gt;-p&lt;/span&gt; tcp &lt;span class="nt"&gt;--dport&lt;/span&gt; 27017 &lt;span class="nt"&gt;-j&lt;/span&gt; ACCEPT
&lt;span class="nb"&gt;sudo &lt;/span&gt;iptables &lt;span class="nt"&gt;-I&lt;/span&gt; INPUT &lt;span class="nt"&gt;-s&lt;/span&gt; &amp;lt;my-server-ip&amp;gt; &lt;span class="nt"&gt;-p&lt;/span&gt; tcp &lt;span class="nt"&gt;--dport&lt;/span&gt; 27017 &lt;span class="nt"&gt;-j&lt;/span&gt; ACCEPT
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;结果造成数据库访问不稳定，有时访问出错，有时会访问速度较慢。&lt;/p&gt;

&lt;p&gt;why？&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Mon, 06 Jul 2015 18:58:14 +0800</pubDate>
      <link>https://ruby-china.org/topics/26344</link>
      <guid>https://ruby-china.org/topics/26344</guid>
    </item>
    <item>
      <title>如何统一捕获路由错误</title>
      <description>&lt;p&gt;Rails 中如何统一捕获路由不存在的错误，而不是抛出默认界面。我在开发环境下使用：&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="n"&gt;rescue_from&lt;/span&gt; &lt;span class="no"&gt;ActionController&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;RoutingError&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;ex&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt; 
  &lt;span class="n"&gt;render&lt;/span&gt; &lt;span class="ss"&gt;json: &lt;/span&gt;&lt;span class="s1"&gt;'hello'&lt;/span&gt; &lt;span class="c1"&gt;#TODO No use for rescue from routing error&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;没有看到效果。&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Mon, 06 Jul 2015 10:16:57 +0800</pubDate>
      <link>https://ruby-china.org/topics/26335</link>
      <guid>https://ruby-china.org/topics/26335</guid>
    </item>
    <item>
      <title>Rails 如何能够局域网他机访问？</title>
      <description>&lt;p&gt;局域网内其他机器访问 Rails 服务器，通过 ip：port 无法访问过去。&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Thu, 28 May 2015 20:40:04 +0800</pubDate>
      <link>https://ruby-china.org/topics/25793</link>
      <guid>https://ruby-china.org/topics/25793</guid>
    </item>
    <item>
      <title>Rails API 服务器选择</title>
      <description>&lt;p&gt;我现在在用 Rails 作后端 API 服务器，仅仅是提供数据服务接口，没有任何页面渲染。这种情况下应该选择何种服务器架构我的 Rails 应用呢？&lt;/p&gt;

&lt;p&gt;我想 Unicorn 是不是就够用了。我看到网上有推荐 Nginx -&amp;gt; Unicorn 的方式。我对 Nginx 不是很了解，不清楚 Nginx 在这当中起了什么作用。我这边仅仅提供 API 服务，不提供静态页面。暂时呢，也不考虑负载均衡。&lt;/p&gt;

&lt;p&gt;谢谢各位了。&lt;/p&gt;

&lt;p&gt;补充：我现在又遇到个问题了，发现在局域网里试 rails 的时候，不能在别的机器上通过 ip：port 访问，不知为什么&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Mon, 25 May 2015 11:18:00 +0800</pubDate>
      <link>https://ruby-china.org/topics/25725</link>
      <guid>https://ruby-china.org/topics/25725</guid>
    </item>
    <item>
      <title>Mongoid 如何与 elasticsearch 很好的集成?</title>
      <description>&lt;p&gt;我想用 elasticsearch-model 与 elasticsearch 整合，结果与 mongoid 进行整合不大顺利。&lt;/p&gt;

&lt;p&gt;我尝试了下与 ActiveRecord 的整合，很顺利。&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/_activemodel_activerecord.html" rel="nofollow" target="_blank"&gt;http://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/_activemodel_activerecord.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;上面按个地址的入门教程直接就顺利通过了。&lt;/p&gt;

&lt;p&gt;但是改成 mongoid 之后，不行。我进去 elasticsearch-model 的 github 主页，看到 gemfiles 这个文件夹的 commit 信息显示如下：&lt;/p&gt;

&lt;p&gt;Bundler could not find compatible versions for gem "minitest":
  In Gemfile:
    mongoid (= 4.0.0) ruby depends on
      activemodel (~&amp;gt; 4.0) ruby depends on
        activesupport (= 4.0.0) ruby depends on
          minitest (~&amp;gt; 4.2) ruby&lt;/p&gt;

&lt;p&gt;minitest (4.0.0)&lt;/p&gt;

&lt;p&gt;我无法得知如何更改，而且我也无法得知是否是因为这个出错误了。&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Mon, 13 Apr 2015 12:34:01 +0800</pubDate>
      <link>https://ruby-china.org/topics/25118</link>
      <guid>https://ruby-china.org/topics/25118</guid>
    </item>
    <item>
      <title>rails new 时安装 i18n 远程连接问题</title>
      <description>&lt;p&gt;Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (&lt;a href="https://rubygems.org/gems/i18n-0.7.0.gem" rel="nofollow" target="_blank"&gt;https://rubygems.org/gems/i18n-0.7.0.gem&lt;/a&gt;)
An error occurred while installing i18n (0.7.0), and Bundler cannot continue.
Make sure that &lt;code&gt;gem install i18n -v '0.7.0'&lt;/code&gt; succeeds before bundling.&lt;/p&gt;

&lt;p&gt;可能是远程连接问题，因为 wgets &lt;a href="https://rubygems.org/gems/i18n-0.7.0.gem" rel="nofollow" target="_blank"&gt;https://rubygems.org/gems/i18n-0.7.0.gem&lt;/a&gt;出错，如何 rails new 时 skip 掉这个包&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Sun, 12 Apr 2015 16:15:14 +0800</pubDate>
      <link>https://ruby-china.org/topics/25105</link>
      <guid>https://ruby-china.org/topics/25105</guid>
    </item>
    <item>
      <title>Rails 单数资源异常</title>
      <description>&lt;p&gt;我按照入门指南里面定义的 resource :geocoder 声明单数路由，结果错错错啊。出现异常&lt;/p&gt;

&lt;p&gt;uninitialized constant GeocodersController&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Fri, 10 Apr 2015 12:29:55 +0800</pubDate>
      <link>https://ruby-china.org/topics/25087</link>
      <guid>https://ruby-china.org/topics/25087</guid>
    </item>
    <item>
      <title>Mongoid 中只设置 belongs_to 忽略 has_many 会有严重问题吗?</title>
      <description>&lt;p&gt;看文档中有这么一句&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Definitions are required on both sides to the relation in order for it to work properly, unless one of the models is embedded. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;如果我忽略 has_many 会怎样？因为不需要从 one 端获取 many 端&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Thu, 09 Apr 2015 16:26:44 +0800</pubDate>
      <link>https://ruby-china.org/topics/25072</link>
      <guid>https://ruby-china.org/topics/25072</guid>
    </item>
    <item>
      <title>Mongoid 中 attr_protected 错误: NoMethodError: undefined method `attr_protected' for User:Class</title>
      <description>&lt;p&gt;现在用 Mongoid4.0 了，配置&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;User&lt;/span&gt;
    &lt;span class="kp"&gt;include&lt;/span&gt; &lt;span class="no"&gt;Mongoid&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;Document&lt;/span&gt;
    &lt;span class="n"&gt;field&lt;/span&gt; &lt;span class="ss"&gt;:first_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;type: &lt;/span&gt;&lt;span class="no"&gt;String&lt;/span&gt;
    &lt;span class="n"&gt;field&lt;/span&gt; &lt;span class="ss"&gt;:password&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;type: &lt;/span&gt;&lt;span class="no"&gt;String&lt;/span&gt;
    &lt;span class="n"&gt;attr_protected&lt;/span&gt; &lt;span class="ss"&gt;:password&lt;/span&gt; &lt;span class="c1"&gt;# focus this&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;出现了标题的错误。我想要在 model 层禁止更新密码，思路来源于
&lt;a href="http://mongoid.org/en/mongoid/docs/documents.html#security" rel="nofollow" target="_blank"&gt;http://mongoid.org/en/mongoid/docs/documents.html#security&lt;/a&gt;&lt;/p&gt;</description>
      <author>mingmingpao</author>
      <pubDate>Thu, 09 Apr 2015 16:23:58 +0800</pubDate>
      <link>https://ruby-china.org/topics/25071</link>
      <guid>https://ruby-china.org/topics/25071</guid>
    </item>
  </channel>
</rss>
