Hi! I'm trying to build a small client that connects to Redmine to get the list of users attached to a project.

Following the AR/ Rails conventions, I can get back all projects as:
> http://redmine/projects.xml
> http://redmine/users.xml

and do searches such as:
http://redmine/issues.xml?limit=10&project_id=3

This works when it involves an attribute or belongs_to criteria.

Can someone help me understand the URL that should be used when trying to search on a HABTM criteria?

For example, I want to know all the users on a project. But that relationship is achieved through a HABTM table. Is there some default Rails routing that covers this scenario?

I tried searching online but I'm just not being able to formulate a query that returns useful results.

Thanks & Best Regards,
Mohit.


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to