31 Oct '16, 1am

Episode 52 - Rails API - Throttling with Rack::Attack

Resources Rack::Attack - https://github.com/kickstarter/rack-attack Example Config - https://github.com/kickstarter/rack-attack/wiki/Example-Configuration Source - https://github.com/driftingruby/052-rails-api-throttling-with-rack-attack Summary Gemfile gem 'rack-attack' config/application.rb module Template class Application < Rails::Application ... config.middleware.use Rack::Attack end end config/initializers/rack_attack.rb class Rack::Attack Rack::Attack.cache.store = ActiveSupport::Cache::MemoryStore.new throttle('api/ip', limit: 3, period: 10) do |req| req.ip if req.subdomain == 'api' end class Request < ::Rack::Request def subdomain host.split('.').first end end end

Full article: https://www.driftingruby.com/episodes/rails-api-throttlin...

Tweets

Token-Based API Authentication in Ruby on Rails

mccartie.com 03 Nov '16, 8pm

I’ve built plenty of Rails-based API’s in my time. The first step for me is usually to make sure I have a good “base” cont...

Using the Push API with VAPID in Ruby

rubyflow.com 29 Oct '16, 1am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Episode 51 - Rails API - Authentication with JWT

driftingruby.com 24 Oct '16, 3am

Bash rails generate knock:install rails generate knock:token_controller user api/application_controller.rb module Api clas...

[Screencast] Rails API - Authentication with JWT

rubyflow.com 24 Oct '16, 11am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Experienced Ruby on Rails developer (GUI & REST...

freelance.nl 27 Oct '16, 1pm

For finishing a running project in time, we're looking for an experienced Ruby on Rails developer who can step in and get ...

Build a Website with ruby on rails (API integra...

freelancer.com 04 Nov '16, 5am

how to build a ruby on rails website , api accpac website integration , web sms providers website integration api , develo...

Sandi Metz is on this week's episode of The Cha...

rubyflow.com 31 Oct '16, 12pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

ruby: rails c doesn't start the rails console. · Issue #26658 · rails/rails · GitHub https://t.co/95BTW9JhSZ

ruby: rails c doesn't start the rails console. ...

github.com 30 Oct '16, 8am

This is not an issue related to Rails. See how to solve issues with rvm and readline. You will face this issue with any ot...

New Job Alert: Ruby on Rails Developer at Ben K...

rorjobs.com 30 Oct '16, 1am

[This is a full-time position in our Bellingham, WA office. Please do not apply if you are planning to work remotely.][Ple...

ActiveJob Basics in Rails 5

rubyflow.com 29 Oct '16, 4am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Generating Ruby on Rails model based on a schem...

freelancer.com 30 Oct '16, 4pm

ruby rails based asset management , ruby rails web based accounting , payment system based ruby rails , web based project ...

The latest Today in #Ruby, #Rails, & #Python!

paper.li 30 Oct '16, 11am

Today in #Ruby, #Rails, & #Python News from Rubyists and Pythonistas by David Young Please enable Javascript to correctly ...

60,000 commits! / rails/rails: Ruby on Rails

github.com 29 Oct '16, 5am

represents your domain model (such as Account, Product, Person, Post, etc.) and encapsulates the business logic that is sp...

I would like to hire a Ruby on Rails Developer ...

freelancer.com 30 Oct '16, 11am

ruby on rails developer for hire , hire ruby on rails developer india , hire ruby on rails developer , hire ruby on rails ...

[Screencast] Rails API - Active Model Serializer

rubyflow.com 17 Oct '16, 11am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...