Hi everybody,

so I came out with the following solution:

1) I setup a before_filter that checks if the submitted entity has the
"application/atom+xml" content type
2) If this is the case, I parse the entity and I populate accordingly
the params hash in order to map the information contained in the atom
entry to my model
3) I put respond_to atom where needed in order to handle atom entry
submissions.

Is this solution good?
I think it is, but since I am a newbie to Rails, I would appreciate
some experts' opinions.

Thanks.

-FM
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to