views:

38

answers:

0

Hi,

I'm using the RiaForge Plugin for Flash Builder 4 and WebORB for accessing data from my Rails application. In Rails I defined the dependencies of my models by using has_many, belongs_to...

I've got some models, for example the User model and the Picture model (user has many pictures, picture belongs to user)

Creating services in AS3 works, and I get data etc.pp. The question is how to retrieve data from the picture model if i call the UserService (and i don't want to create a PictureService and filter the data within AS3). The RiaForge Plugin doesn't create any functions in AS3 or in the UserService.rb for accessing the data of the Picture Model.

Hope I make myself clear and anyone can help me.

thx, tux