Comments (3)
@tpun Hmm, by convention AR raises an exception when using the find method and no record is found and returns nil when you use a dynamic finder method. Since our find_by_name
method delegates to the find method we could probably follow convention a little closer here.
from intercom-ruby.
@erskingardner You are right. I updated the title to be more clear on the expectation.
from intercom-ruby.
New version of the gem does not expose a find_by_name
method for tags. You can find tags by enumerating over collections: https://github.com/intercom/intercom-ruby#tags
Intercom::Tag.all.find { |tag| tag.name == 'my_tag' }
from intercom-ruby.
Related Issues (20)
- Intercom::BadRequestError when trying to nullify Conversation custom_attribute with type Number HOT 1
- assigning attributes HOT 1
- add_company' called on Intercom::Contact but it has not been set an attribute or does not exist as a method HOT 2
- Gateway timeout when counting conversations in test accounts only HOT 1
- Receive `Intercom::UnexpectedError` when creating a company with race condition
- intercom_contact.companies is nil HOT 1
- Link to v4 migration guide is broken HOT 2
- Tags missing for contact HOT 3
- People data? HOT 6
- contact.tags is nil when calling from a delayed job HOT 7
- rate_limit_details open interface could be nil, when it should not be. X-RateLimit-Reset needs a guard if its not returned from server
- Having trouble searching for open conversations HOT 2
- The untag method no longer supports users? HOT 2
- Cannot use spaces in custom attributes HOT 1
- How to query contact id when contact is archived? HOT 1
- #find_all method does not filter by user ID after bump to 4.2.0 HOT 5
- Support for Debug Mode?
- Intercom::BadRequestError: found unpermitted parameter
- Intercom `find` by external ID returns the same class with different data structures HOT 1
- Can't create conversation with Intercom SDK! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intercom-ruby.