--
You received this message because you are subscribed to the Google Groups "ActiveSalesforce" group.
To post to this group, send email to activesa...@googlegroups.com.
To unsubscribe from this group, send email to activesalesfor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/activesalesforce?hl=en.
> 1) Would it be worthwhile to have/start an IRC channel to hang out on?
Great idea. Easy comms for those of us who live on the other side of
the world to the predominantly US based rails+salesforce community.
(greetings from NZ)
Also, I would be up for attending DreamForce this year so if we could
align a gathering before/during or after the event in SFO that would
be great.
> 2) In December there was an intention to "bring together"
> the myriad ActiveSalesforce adapter branches and features together. Any
> progress on that?
It would be great to reduce the proliferation of forks/clones and
unify the community with a single gem used to connect to the
Salesforce API. I'd happily contribute towards this effort.
Exciting stuff...very keen to be involved.
-Abhinav
--
Abhinav Keswani
@wasabhi
http://trineo.co.nz
In this release, following are achieved.
1. Bring the gem to v20 of the api, with 'database.yml', one can specify which version of the API to use, e.g. 19, 20, 21, etc. Really convenient for future upgrade.
2. Convenience objects, e.g. Salesforce::Account, Salesforce::User, Salesforce::Group, etc. That way, developers don't need to access the gut of the code. Really convenient for the future, as the abstraction protects the developer from changes. Previously, it was cumbersome to have to subclass objects. Now, all the wrapper objects inherit from the Salesforce::SfBase object. One change there, all others take the cue.
3. Upgrade to Rforce 0.4.1, actually as a pre-req, rather than hard-code-in the RForce in the adapter, TODO upgrade to Rforce 0.5.0
4. Support for Chatter Feed, including search, see the Salesforce::ChatterFeed object for detail
5. Salesforce object lookup utility, given an object ID find the object type.
6. Support for non-traditional SQL, e.g. “LIMIT”, “GROUP BY”, “HAVING”, and “WITH DATA CATEGORY”, see Salesforce::SfBase.query_by_sql() for detail. TODO, rename it to query_by_SOQL().
7. An information home page: http://asf-soap-adapter.are4.us
8. Released the GEM on RubyGems and checkin the code on GitHub.
9. Documentation for the GEM http://asf-soap-adapter.are4.us/doc/
10. etc.
---------- Forwarded message ----------
From: Timothy <timfo...@gmail.com>
Date: Mon, Jan 17, 2011 at 5:49 PM
Subject: Re: [ActiveSalesforce] ActiveSalesforce development discussion
To: activesa...@googlegroups.com
Cc: rayga...@yahoo.com, Joshua Birk <joshu...@salesforce.com>, Nick Simha <nsi...@gmail.com>, Quinton Wall <qw...@salesforce.com>
Ray,
I've been using your adapter via a Gemfile (although it sounds like I should run an update to get your latest) -- I like all the objects you use and the convenience.
I do have a quetion: I want to do some things with Tasks, where can I find outu what fields I need to fill out and how they map?
And it sounds like this was run on heroku...I'm trying to run the adapter on heroku and having some challenges. It works great in development by adding to the environment.rb, but on heroku they write their own .yml file for the database and I haven't been able to get my app to access both SFDC and the heroku postgres.
Do you have example files I could check out to show how to set up to run on heroku?
Thanks.
- you define an ASF adapter in your database.yml
- this works great on localhost or your own dev host
- as soon as you deploy to Heroku, they will understandably replace
all your database credentials with their own
- the way around this is a bit of a hack - to define connectivity at
the model level by creating a sfbase model where you supply login
credentials, extending all other models from sf_base ... etc ...
I'll let Quentin's post bubble up through the system to describe how
to do this - but rest assured Tim it is possible.
Perhaps we could add a clean Heroku deployment methodology to our TODO list.
I'd also vote for working towards using the REST API ... so much
nicer. There are also things to consider like a solid test suite
using something like webmock (or mocha) + factory_girl ..
-Abhinav
--
Abhinav Keswani
--
On 18 January 2011 21:04, Siva Shanmukh Vetcha <siva.s...@gmail.com> wrote:
> @Abhinav
> You probably wouldn't have to go that far to do that. It is a case similar
> to when you have multiple database.yml like files, right? So you just need
> to add the following line in the initializer in environment.rb
> config.database_configuration_file = File.join(RAILS_ROOT, 'config',
> 'sf.yml')
> where sf.yml contains salesforce login credentials.
Nice solution...much easier to implement and maintain.
-Abhinav
--
Abhinav Keswani
I believe Abhinav has the solution on your problem.
The only thing that I like to added is that, with the SOQL DescribeSObject, you can reflect on a table by doing "Salesforce::XXXObject.column_names", you will find the columns of the underlying SF object.
Hope that helps.
-Ray
Q