25 Feb '16, 11pm

[Rails] RESTfulAPIをORMするgem “her” の利用方法(1) https://t.co/53NDYqzlBq

# lib/faraday/custom_raise_error.rb class CustomRaiseError < Faraday::Response::RaiseError # オーバーライド def on_complete(env) case env[:status] # 以下の2行を追加 when 401 raise UnauthorizedError, response_values(env) when 404 raise Faraday::Error::ResourceNotFound, response_values(env) when 407 raise Faraday::Error::ConnectionFailed, %{407 "Proxy Authentication Required "} when ClientErrorStatuses raise Faraday::Error::ClientError, response_values(env) end end # 401エラーのExceptionを追加 class UnauthorizedError < Faraday::ClientError; end end

Full article: http://dev.classmethod.jp/server-side/ruby-on-rails/her-1/

Tweets

Senior Ruby On Rails Developer: Senior Ruby On ...

lawebdelprogramador.com 25 Feb '16, 11am

We are looking for Ruby on Rails developers to join our team. Our Ruby on Rails team is small and growing, and every devel...

ruby: Relay/GraphQL On Rails — Medium https://t.co/5UZEhQkH78

ruby: Relay/GraphQL On Rails — Medium https://t...

medium.com 24 Feb '16, 12pm

Our GraphQL data schema (bottom-left box) is in either Javascript (nodejs server) or Ruby (Rails sever) but is converted u...

Best Way to Learn Ruby on Rails from Scratch Fast

Best Way to Learn Ruby on Rails from Scratch Fast

content.wisestep.com 25 Feb '16, 8am

The future path for Ruby on Rails developer is quite clear without hassles. The language is considered as one of the highl...

Comparing Rails and Phoenix: Part I - Ruby Phoenix, Rails

Comparing Rails and Phoenix: Part I - Ruby Phoe...

webcodegeeks.com 24 Feb '16, 10am

One of the things they mentioned on the show was that they were tired of the comparison being made between Rails and Phoen...

Do Ruby on Rails sites 'feel' nicer?

reddit.com 24 Feb '16, 8am

Ruby on Rails is a back-end framework. It has absolutely zero impact on the front-end, and you still use front-end framewo...

Brace Yourselves, Rails Upgrade is Coming

robots.thoughtbot.com 23 Feb '16, 12am

Now that the final release of Ruby on Rails 5.0 is on the horizon, it’s a good time to start preparing your Rails applicat...