I have no experience on this matter but I would go with the respond_to
approach. I mean, why duplicate code unless you absolutely have to.
On Jan 25, 8:44 am, Scott A S
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Hi,
>
> I am about to start work on a new facebook app that will integrate with
> an existing site.
>
> Has anyone got any recommendations / experience with doing this and
> suggestions on the best way to lay the code out.
>
> i.e. Do I either:
> - Create alternative views that end in .fbml.erb and use the respond_to
> block to render these
> - Create a spate namespace and put fresh code in this directory (e.g.
> app/controller/facebook)
> Any other suggestions?
>
> Thanks
> scott
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---