payout / rester

An exceedingly quick way of creating restful interfaces between Ruby services.
https://www.payout.com
MIT License
2 stars 0 forks source link

Check if Rails responds to application #100

Closed kayvonghaffari closed 8 years ago

kayvonghaffari commented 8 years ago

In rester.rb:

if defined?(Rails) && Rails.respond_to?(:application) && Rails.application