getsy/getsy-api-ruby — Issue #2: Remove dependency on ActiveRecord / ActiveSupport
Author: derickbailey
Created: 2011-11-06 01:11:13+00:00
State: open

I'm not using ActiveRecord or Rails for that matter. I'm using Sinatra and writing up a very simple system that will use the API.

When I load IRB and try to run code, I get errors looking for the `blank?` method - which is part of ActiveRecord / ActiveSupport.

```
FetchAPI::Order.find(:all)
NoMethodError: undefined method `blank?' for {}:Hash
from /Users/derickbailey/.rvm/gems/ruby-1.9.2-p290@watchmecode/gems/fetchapi-ruby-1.2/lib/fetchapi/base.rb:19:in `find'
from /Users/derickbailey/.rvm/gems/ruby-1.9.2-p290@watchmecode/gems/fetchapi-ruby-1.2/lib/fetchapi/order.rb:39:in `find'
from (irb):8
from /Users/derickbailey/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `

'
```