Airtable / airtable-ruby

Access Airtable data sheets with ease using ruby
MIT License
162 stars 72 forks source link

Table's name with two words doesn't return anything. #33

Open fccoelho7 opened 5 years ago

fccoelho7 commented 5 years ago

When trying something like that, a receive an empty list:

client.table(ENV['AIRTABLE_API_APP'], 'Table Name').all

If I change the table's name to one word, works well.

Anyone?

uzorjchibuzor commented 5 years ago

@fccoelho7 I ran into the same problem earlier when I was setting up my project. Checkout airrecord gem by @sirupsen , It is better maintained than this one.

dsandstrom commented 4 years ago

This is fixed in the code, but a new version of the gem was never published, so you will have to bundle install the repo version of the gem.

gem 'httparty', '~> 0.14.0' # needed for old ruby versions
gem 'airtable', git: 'https://github.com/Airtable/airtable-ruby.git',
                ref: '041a8baf8ae59279630912d6ff329faa64398cb2'

However, I'm only using this gem because I need to support an app that runs Ruby 1.9.3, Rails 3.0. If you are using later versions of ruby/rails, go with airrecord because it's being maintained.

daveberning commented 3 years ago

@nesquena @syrnick @sirupsen @chug2k @rohandaxini can we get a version bump? I wasted a lot of time trying to remedy the lack of data being returned.

@dsandstrom thanks for the tip. That worked.