Flash and RoR Shop


Ive just recently started trying to get to grips with Ruby on Rails.

Someone I'm putting a Flash site together for has asked for a shop.
Will it be possible for me to use a Flash front end with a Ruby on
Rails backend.

Are there any tutorials ou there?

I understand it may be tricky for a beginner but I've got plenty of
time to learn how to do it, I just want to know if I'm barking up the
wrong tree using the combination?