README.mdown in intercom-rails-0.2.23 vs README.mdown in intercom-rails-0.2.24

- old
+ new

@@ -87,10 +87,13 @@ ... end end ``` +Attributes must be accessible in order to sync with intercom. Additionally, attriutes ending in "_at" will be parsed as times. + + ### Inbox Intercom includes an inbox which allows a user to read their past conversations with your app, and start new conversations. It's hidden by default, you can include a link to open it by adding a line to `config/initializers/intercom.rb`: To use the default link style, which requires no extra config and includes a small question mark icon in the bottom right corner of your app: @@ -109,9 +112,17 @@ ```html <a id="Intercom">Support</a> ``` You can read more about configuring the Inbox within Intercom (Config menu -> Inbox Link). + +### Environments + +By default Intercom will be automatically inserted in all Rails environments. If you would like to specify the environments in which Intercom should be inserted, you can do so as follows: + +```ruby + config.enabled_environments = ["production"] +``` ### Manually Inserting the Intercom Javascript Some situations may require manually inserting the Intercom script tag. If you simply wish to place the Intercom javascript in a different place within the page or, on a page without a closing `</body>` tag: