airrecord

Ruby wrapper for Airtable, your personal database

MIT License

Downloads
1.5M
Stars
295
Committers
23

Bot releases are hidden (Show)

airrecord - 1.0.12 Latest Release

Published by Meekohi over 1 year ago

Fixes bug for tables with spaces in their names #100

airrecord - 1.0.11

Published by Meekohi over 1 year ago

airrecord - Ruby 3 compatibility

Published by sirupsen over 3 years ago

airrecord - v1.0.1

Published by chrisfrank almost 6 years ago

airrecord - v1.0.0

Published by chrisfrank almost 6 years ago

  • 1.0.0 introduces breaking changes, including removing support for symbols and
    implementing associations as instance methods. To upgrade:
    1. Change snake-case symbols to their correct column names:
      record["First Name"] instead of record[:first_name])
    2. Change your association calls to use instance methods instead of []:
      class Tea < Airrecord::Table
        has_many :brews, class: "Brew", column: "Brews"
      end
      tea[:brews] #=> Error, no longer supported
      tea.brews #=> [<Brew>, <Brew>] returns associated Brew instances
      tea["Brews"] #=> ["rec456", "rec789"] returns a raw Airtable field
      
    3. Dates that are formed \d{4}-\d{2}-\d{2} are no longer auto-parsed. Define a helper instead.
  • Automatically throttle client calls to Airtable's API limit of 5 requests per second.
  • Fix sorting by multiple fields
  • Report User-Agent as Airrecord.
airrecord - Deprecate accessing fields via symbol keys

Published by chrisfrank almost 6 years ago

Support for record[:field_name] will be dropped in v1.0, in favor of record['Field Name'].