Recently, a lot of people with rails to develop micro-trust project friends on the GitHub began to use Weixin_rails_middleware, weixin_authorize, but also many talked about Ratchet, Spring Festival began to now, has been doing micro-letter development, Now posted on the Forum, hope to let more people know the existence of these gems, faster completion of the tasks in your hands.
1, one (two) command to build Rails micro-letter version
At the simplest speed, you can run a micro-mail project in 10 minutes:
Https://github.com/lanrion/weixin_rails_middleware
Automatic verification of micro-letter requests;
One (two) order, a configuration, concise style;
1. Support Rails 3, rails 4;
2. Support the multi-public account platform, for example, similar to the micro-alliance;
3. Support a single user, that is, an account, but do not want to save in the database;
4. Provide reply-message assistant method;
5. Provide reply processing of all micro-letter message type business logic;
6.wiki to provide the implementation case in the custom menu;
4. Automatic generation of token;
See MORE:
https://github.com/lanrion/weixin_rails_middleware/wiki/
Https://github.com/lanrion/weixin_rails_middleware
2, micro-credit Advanced API implementation:
Https://github.com/lanrion/weixin_authorize
1. Except Oauth 2 is not implemented, other APIs have been implemented;
2. Support Redis storage access_token;
Just look at the wiki: https://github.com/lanrion/weixin_authorize/wiki/Getting-Started
3, integrated ratchet v2.0.1 Gem:twitter_ratchet_rails
Namely: http://goratchet.com/compressed very small, very suitable for WAP use, but there is a shortage of components are not rich enough to expect richer implementation
There's nothing more to say, Reader direct click:
Https://github.com/lanrion/twitter_ratchet_rails
4, use examples (may not update the latest version in a timely manner)
Rails 4:https://github.com/lanrion/weixin_rails_middleware_example
Rails 3:https://github.com/lanrion/weixin_rails_3